Automattic\WooCommerce\Internal\Admin\Schedulers

ImportScheduler::get_scheduler_actions()public staticWC 1.0

Get all available scheduling actions. Used to determine action hook names and clear events.

{} Это метод класса: ImportScheduler{}

Хуков нет.

Возвращает

Массив.

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

$result = ImportScheduler::get_scheduler_actions();

Код ImportScheduler::get_scheduler_actions() WC 6.4.1

public static function get_scheduler_actions() {
	return array(
		'import_batch_init' => 'wc-admin_import_batch_init_' . static::$name,
		'import_batch'      => 'wc-admin_import_batch_' . static::$name,
		'delete_batch_init' => 'wc-admin_delete_batch_init_' . static::$name,
		'delete_batch'      => 'wc-admin_delete_batch_' . static::$name,
		'import'            => 'wc-admin_import_' . static::$name,
	);
}