WooCommerce::unschedule_unwrapped_actions
Unschedule unwrapped actions that may have been added to the site.
Method of the class: WooCommerce{}
No Hooks.
Returns
null. Nothing (null).
Usage
$WooCommerce = new WooCommerce(); $WooCommerce->unschedule_unwrapped_actions();
WooCommerce::unschedule_unwrapped_actions() WooCommerce::unschedule unwrapped actions code WC 10.7.0
public function unschedule_unwrapped_actions() {
// Unschedule the unwrapped actions.
as_unschedule_all_actions( 'woocommerce_tracker_send_event' );
as_unschedule_all_actions( 'wc_admin_daily' );
as_unschedule_all_actions( 'generate_category_lookup_table' );
as_unschedule_all_actions( 'woocommerce_cleanup_rate_limits' );
}