Example #1
0
 function __construct()
 {
     add_filter('init', array(&$this, 'xmlrpc_check'));
     //		add_action( 'psts_settings_page', array( &$this, 'settings' ) );
     add_action('admin_notices', array(&$this, 'message'));
     self::$user_label = __('XML RPC', 'psts');
     self::$user_description = __('Can use XML RPC calls', 'psts');
 }
Example #2
0
 /**
  * 'Restrict XML-RPC'
  *
  * @return string
  */
 public static function render_tab_xmlrpc()
 {
     ProSites_Helper_Settings::settings_header(ProSites_Helper_Tabs_Settings::get_active_tab());
     $module = new ProSites_Module_XMLRPC();
     echo $module->settings();
 }