public function __construct(QM_Plugin $qm) { add_action('admin_bar_menu', array($this, 'action_admin_bar_menu'), 999); add_action('wp_ajax_qm_auth_on', array($this, 'ajax_on')); add_action('wp_ajax_qm_auth_off', array($this, 'ajax_off')); add_action('wp_ajax_nopriv_qm_auth_off', array($this, 'ajax_off')); parent::__construct($qm); }
public function __construct(QM_Plugin $qm) { add_action('admin_bar_menu', array($this, 'action_admin_bar_menu'), 999); add_action('wp_ajax_qm_auth_on', array($this, 'ajax_on')); add_action('wp_ajax_qm_auth_off', array($this, 'ajax_off')); add_action('wp_ajax_nopriv_qm_auth_off', array($this, 'ajax_off')); add_action('shutdown', array($this, 'dispatch'), 0); add_action('wp_footer', array($this, 'action_footer')); add_action('admin_footer', array($this, 'action_footer')); add_action('login_footer', array($this, 'action_footer')); parent::__construct($qm); }
public function __construct(QM_Plugin $qm) { parent::__construct($qm); add_filter('rest_post_dispatch', array($this, 'filter_rest_post_dispatch'), 1, 3); }
public function __construct(QM_Plugin $qm) { parent::__construct($qm); add_action('shutdown', array($this, 'dispatch'), 0); }
public function __construct(QM_Plugin $qm) { parent::__construct($qm); add_filter('wp_redirect', array($this, 'filter_wp_redirect'), 999, 2); }
public function __construct(QM_Plugin $qm) { parent::__construct($qm); }
public function __construct(QM_Plugin $qm) { add_action('admin_bar_menu', array($this, 'action_admin_bar_menu'), 999); parent::__construct($qm); }