action_scheduler/migration_interval хук-фильтрWC 1.0

Get migration batch schedule interval.

Использование

add_filter( 'action_scheduler/migration_interval', 'wp_kama_action_scheduler_migration_interval_filter' );

/**
 * Function for `action_scheduler/migration_interval` filter-hook.
 * 
 * @param  $empty 
 *
 * @return 
 */
function wp_kama_action_scheduler_migration_interval_filter( $empty ){

	// filter...
	return $empty;
}
$empty
-

Где вызывается хук

Scheduler::get_schedule_interval()
action_scheduler/migration_interval
woocommerce/packages/action-scheduler/classes/migration/Scheduler.php 105
return (int) apply_filters( 'action_scheduler/migration_interval', 0 );

Где используется хук в WooCommerce

Использование не найдено.