woocommerce_analytics_disable_action_scheduling

woocommerce_analytics_disable_action_scheduling

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_analytics_disable_action_scheduling') is found 1 times:

  • /src/Admin/Schedulers/SchedulerTraits.php line 309
     
    		if (
    			// Skip scheduling if Action Scheduler tables have not been initialized.
    			! get_option( 'schema-ActionScheduler_StoreSchema' ) ||
    			apply_filters( 'woocommerce_analytics_disable_action_scheduling', false )
    		) {
    			call_user_func_array( array( static::class, $action_name ), $args );
    			return;
    		}
    
    		self::queue()->schedule_single( time() + 5, $action_hook, $args, static::$group );