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

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

add_filter( 'action_scheduler_logger_class', 'wp_kama_action_scheduler_logger_class_filter' );

/**
 * Function for `action_scheduler_logger_class` filter-hook.
 * 
 * @param  $string 
 *
 * @return 
 */
function wp_kama_action_scheduler_logger_class_filter( $string ){

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

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

ActionScheduler_Logger::instance()
action_scheduler_logger_class
woocommerce/packages/action-scheduler/classes/abstracts/ActionScheduler_Logger.php 15
$class = apply_filters('action_scheduler_logger_class', 'ActionScheduler_wpCommentLogger');

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

woocommerce/packages/action-scheduler/classes/ActionScheduler_DataController.php 168
add_filter( 'action_scheduler_logger_class', array( 'ActionScheduler_DataController', 'set_logger_class' ), 100 );
woocommerce/packages/action-scheduler/classes/migration/Controller.php 170
add_filter( 'action_scheduler_logger_class', array( $this, 'get_logger_class' ), 100, 1 );