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.

Method of the class: ImportScheduler{}

No Hooks.

Return

Array.

Usage

$result = ImportScheduler::get_scheduler_actions();

ImportScheduler::get_scheduler_actions() code WC 9.4.2

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,
	);
}