wp hooks & wp filters
اذا كنت تريد التحكم الاكبر بالقالبك و تلاشي اخطاء التحديثات و بداية الطريق الي صنع اضافات ووربرس فعليك بالاتجاة الي عالم جدبد من الاكواد الاضافية و من هنا ستلاحظ الفرق
wp filters
/* Plugin Name: arabic html wp hooks Plugin URI: http://arabic-html.com Description: arabic html filters and action hooks tutorials Author: Amro Eldewiny Author URI: http://arabic-html.com Version: 1.0 */ function content_style($content){ $section = '' . $content . ' '; return $section; } add_filter('the_content', 'content_style', 10); function author_profile($profile){ $profile['google_profile'] = 'Google Profile URL'; $profile['twitter_profile'] = 'Twitter Profile URL'; $profile['facebook_profile'] = 'Facebook Profile URL'; return $profile; } add_filter('user_contactmethods', 'author_profile',10,1);