plugin page setting option
-
this plugin after install different different location user
like,add_filter( 'plugin_action_links', 'wow_facebook_action_links', 10, 2 ); function wow_facebook_action_links( $actions, $plugin_file ){ if( false === strpos( $plugin_file, basename(__FILE__) ) ) return $actions; $settings_link = '<a><strong>page=wow-facebook</strong>' .'">Settings</a>'; array_unshift( $actions, $settings_link ); return $actions; } and right user is add_filter( 'plugin_action_links', 'wow_facebook_action_links', 10, 2 ); function wow_facebook_action_links( $actions, $plugin_file ){ if( false === strpos( $plugin_file, basename(__FILE__) ) ) return $actions; $settings_link = '<a><strong>page=wow-fb-login</strong>' .'">Settings</a>'; array_unshift( $actions, $settings_link ); return $actions; }
- The topic ‘plugin page setting option’ is closed to new replies.