public function __construct()
 {
     add_action('wp_update_nav_menu', array(&$this, 'hooks_menu_created_or_updated'));
     add_action('wp_create_nav_menu', array(&$this, 'hooks_menu_created_or_updated'));
     add_action('delete_nav_menu', array(&$this, 'hooks_menu_deleted'), 10, 3);
     parent::__construct();
 }
 public function __construct()
 {
     add_action('activated_plugin', array(&$this, 'hooks_activated_plugin'));
     add_action('deactivated_plugin', array(&$this, 'hooks_deactivated_plugin'));
     add_filter('wp_redirect', array(&$this, 'hooks_plugin_modify'), 10, 2);
     parent::__construct();
 }
 public function __construct()
 {
     add_action('created_term', array(&$this, 'hooks_created_edited_deleted_term'), 10, 3);
     add_action('edited_term', array(&$this, 'hooks_created_edited_deleted_term'), 10, 3);
     add_action('delete_term', array(&$this, 'hooks_created_edited_deleted_term'), 10, 4);
     parent::__construct();
 }
 public function __construct()
 {
     add_filter('widget_update_callback', array(&$this, 'hooks_widget_update_callback'), 9999, 4);
     add_filter('sidebar_admin_setup', array(&$this, 'hooks_widget_delete'));
     // Widget delete.
     parent::__construct();
 }
 public function __construct()
 {
     add_action('add_attachment', array(&$this, 'hooks_add_attachment'));
     add_action('edit_attachment', array(&$this, 'hooks_edit_attachment'));
     add_action('delete_attachment', array(&$this, 'hooks_delete_attachment'));
     parent::__construct();
 }
 public function __construct()
 {
     add_action('activated_plugin', array(&$this, 'hooks_activated_plugin'));
     add_action('deactivated_plugin', array(&$this, 'hooks_deactivated_plugin'));
     add_filter('wp_redirect', array(&$this, 'hooks_plugin_modify'), 10, 2);
     add_action('upgrader_process_complete', array(&$this, 'hooks_plugin_install_or_update'), 10, 2);
     parent::__construct();
 }
 public function __construct()
 {
     add_filter('wp_redirect', array(&$this, 'hooks_theme_modify'), 10, 2);
     add_action('switch_theme', array(&$this, 'hooks_switch_theme'), 10, 2);
     // Theme customizer
     add_action('customize_save', array(&$this, 'hooks_theme_customizer_modified'));
     //add_action( 'customize_preview_init', array( &$this, 'hooks_theme_customizer_modified' ) );
     parent::__construct();
 }
 public function __construct()
 {
     add_action('wp_login', array(&$this, 'hooks_wp_login'), 10, 2);
     add_action('wp_logout', array(&$this, 'hooks_wp_logout'));
     add_action('delete_user', array(&$this, 'hooks_delete_user'));
     add_action('user_register', array(&$this, 'hooks_user_register'));
     add_action('profile_update', array(&$this, 'hooks_profile_update'));
     add_filter('wp_login_failed', array(&$this, 'hooks_wrong_password'));
     parent::__construct();
 }
 public function __construct()
 {
     add_action('wp_insert_comment', array(&$this, 'handle_comment_log'), 10, 2);
     add_action('edit_comment', array(&$this, 'handle_comment_log'));
     add_action('trash_comment', array(&$this, 'handle_comment_log'));
     add_action('untrash_comment', array(&$this, 'handle_comment_log'));
     add_action('spam_comment', array(&$this, 'handle_comment_log'));
     add_action('unspam_comment', array(&$this, 'handle_comment_log'));
     add_action('delete_comment', array(&$this, 'handle_comment_log'));
     add_action('transition_comment_status', array(&$this, 'hooks_transition_comment_status'), 10, 3);
     parent::__construct();
 }
 public function __construct()
 {
     add_action('updated_option', array(&$this, 'hooks_updated_option'), 10, 3);
     parent::__construct();
 }
 public function __construct()
 {
     add_action('_core_updated_successfully', array(&$this, 'core_updated_successfully'));
     parent::__construct();
 }
Esempio n. 12
0
 public function __construct()
 {
     add_action('transition_post_status', array(&$this, 'hooks_transition_post_status'), 10, 3);
     add_action('delete_post', array(&$this, 'hooks_delete_post'));
     parent::__construct();
 }
 public function __construct()
 {
     add_action('export_wp', array(&$this, 'hooks_export_wp'));
     parent::__construct();
 }
 public function __construct()
 {
     add_filter('wp_redirect', array(&$this, 'hooks_theme_modify'), 10, 2);
     add_action('switch_theme', array(&$this, 'hooks_switch_theme'), 10, 2);
     add_action('delete_site_transient_update_themes', array(&$this, 'hooks_theme_deleted'));
     add_action('upgrader_process_complete', array(&$this, 'hooks_theme_install_or_update'), 10, 2);
     // Theme customizer
     add_action('customize_save', array(&$this, 'hooks_theme_customizer_modified'));
     //add_action( 'customize_preview_init', array( &$this, 'hooks_theme_customizer_modified' ) );
     parent::__construct();
 }
Esempio n. 15
0
 public function __construct()
 {
     add_action('wp_update_nav_menu', array(&$this, 'hooks_menu_updated'));
     parent::__construct();
 }