action_scheduler_pastdue_actions_check хук-фильтрWC 1.0

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

add_filter( 'action_scheduler_pastdue_actions_check', 'wp_kama_action_scheduler_pastdue_actions_check_filter', 10, 4 );

/**
 * Function for `action_scheduler_pastdue_actions_check` filter-hook.
 * 
 * @param  $check               
 * @param  $num_pastdue_actions 
 * @param  $threshold_seconds   
 * @param  $threshhold_min      
 *
 * @return 
 */
function wp_kama_action_scheduler_pastdue_actions_check_filter( $check, $num_pastdue_actions, $threshold_seconds, $threshhold_min ){

	// filter...
	return $check;
}
$check
-
$num_pastdue_actions
-
$threshold_seconds
-
$threshhold_min
-

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

ActionScheduler_AdminView::check_pastdue_actions()
action_scheduler_pastdue_actions_check
woocommerce/packages/action-scheduler/classes/ActionScheduler_AdminView.php 175
$check = ( bool ) apply_filters( 'action_scheduler_pastdue_actions_check', $check, $num_pastdue_actions, $threshold_seconds, $threshhold_min );

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

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