WC_Helper_Compat::remove_actions()
Remove legacy helper actions (notices, menus, etc.)
{} It's a method of the class: WC_Helper_Compat{}
No Hooks.
Return
null
. Nothing.
Usage
$result = WC_Helper_Compat::remove_actions();
Code of WC_Helper_Compat::remove_actions() WC Helper Compat::remove actions WC 6.6.1
public static function remove_actions() { // Remove WooThemes Updater notices remove_action( 'network_admin_notices', array( $GLOBALS['woothemes_updater']->admin, 'maybe_display_activation_notice' ) ); remove_action( 'admin_notices', array( $GLOBALS['woothemes_updater']->admin, 'maybe_display_activation_notice' ) ); remove_action( 'network_admin_menu', array( $GLOBALS['woothemes_updater']->admin, 'register_settings_screen' ) ); remove_action( 'admin_menu', array( $GLOBALS['woothemes_updater']->admin, 'register_settings_screen' ) ); }