Example #1
0
 public function __construct()
 {
     parent::__construct();
     add_action('wp_ajax_export_settings', array(&$this, 'exportSettings'));
     add_action('wp_ajax_nopriv_export_settings', array(&$this, 'exportSettings'));
     add_action('wp_ajax_import_settings', array(&$this, 'importSettings'));
     add_action('wp_ajax_nopriv_import_settings', array(&$this, 'importSettings'));
     add_action('wp_ajax_default_settings', array(&$this, 'defaultSettings'));
     add_action('wp_ajax_nopriv_default_settings', array(&$this, 'defaultSettings'));
 }
Example #2
0
 public function __construct()
 {
     parent::__construct();
 }
Example #3
0
 public function __construct()
 {
     parent::__construct();
     add_action('wp_ajax_tp_default_style', array(&$this, 'tpDefaultTableStyle'));
     add_action('wp_ajax_nopriv_tp_default_style', array(&$this, 'tpDefaultTableStyle'));
 }