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

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

add_filter( 'action_scheduler_store_class', 'wp_kama_action_scheduler_store_class_filter' );

/**
 * Function for `action_scheduler_store_class` filter-hook.
 * 
 * @param  $self::DEFAULT_CLASS 
 *
 * @return 
 */
function wp_kama_action_scheduler_store_class_filter( $self::DEFAULT_CLASS ){

	// filter...
	return $self::DEFAULT_CLASS;
}
$self::DEFAULT_CLASS
-

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

ActionScheduler_Store::instance()
action_scheduler_store_class
woocommerce/packages/action-scheduler/classes/abstracts/ActionScheduler_Store.php 417
$class = apply_filters( 'action_scheduler_store_class', self::DEFAULT_CLASS );

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

woocommerce/packages/action-scheduler/classes/ActionScheduler_DataController.php 167
add_filter( 'action_scheduler_store_class', array( 'ActionScheduler_DataController', 'set_store_class' ), 100 );
woocommerce/packages/action-scheduler/classes/migration/Controller.php 169
add_filter( 'action_scheduler_store_class', array( $this, 'get_store_class' ), 100, 1 );
woocommerce/src/Admin/Composer/Package.php 68
remove_filter( 'action_scheduler_store_class', array( $feature_plugin_instance, 'replace_actionscheduler_store_class' ) );