Beispiel #1
0
 /**
  * Constructor 
  */
 public function __construct()
 {
     global $pf;
     $this->feed_type = 'opml';
     parent::start();
     add_action('admin_init', array($this, 'register_settings'));
 }
Beispiel #2
0
 function __construct()
 {
     parent::start();
     add_action('pf_modal_comments', array($this, 'the_comment_box'));
     //add_action( 'admin_enqueue_scripts', array( $this, 'add_admin_scripts' ) );
     add_action('wp_ajax_editflow_ajax_insert_comment', array($this, 'ajax_insert_comment'));
     add_action('pf_comment_action_button', array($this, 'show_comment_count_button'));
     add_action('pf_comment_action_modal', array($this, 'show_comment_modal'));
     add_filter('pf_setup_admin_rights', array($this, 'control_menu_access'));
 }
 /**
  * Constructor
  */
 public function __construct()
 {
     $this->feed_type = 'rss';
     parent::start();
     //self::check_nonce = wp_create_nonce('retrieve-pressforward');
     add_action('admin_init', array($this, 'register_settings'));
     if (is_admin()) {
         add_action('wp_ajax_nopriv_remove_a_feed', array($this, 'remove_a_feed'));
         add_action('wp_ajax_remove_a_feed', array($this, 'remove_a_feed'));
     }
 }
Beispiel #4
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::start();
     add_action('init', array($this, 'request_feed'));
     //self::check_nonce = wp_create_nonce('retrieve-pressforward');
 }
Beispiel #5
0
 function __construct()
 {
     parent::start();
     add_filter('pf_setup_admin_rights', array($this, 'control_menu_access'));
 }
Beispiel #6
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::start();
     add_action('wp_ajax_refresh_ab_feeds', array($this, 'refresh_ab_feeds_callback'));
     add_action('wp_ajax_finish_ab_feeds', array($this, 'finish_ab_feeds_callback'));
 }
Beispiel #7
0
 function __construct()
 {
     parent::start();
 }
Beispiel #8
0
 function __construct()
 {
     parent::start();
     add_filter('pf_setup_admin_rights', array($this, 'control_menu_access'));
     add_action('pf_tools', array($this, 'debug_the_slurp'));
 }