action_scheduler/migration_complete хук-событиеWC 1.0

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

add_action( 'action_scheduler/migration_complete', 'wp_kama_action_scheduler_migration_complete_action' );

/**
 * Function for `action_scheduler/migration_complete` action-hook.
 * 
 * @return void
 */
function wp_kama_action_scheduler_migration_complete_action(){

	// action...
}

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

Scheduler::mark_complete()
action_scheduler/migration_complete
woocommerce/packages/action-scheduler/classes/migration/Scheduler.php 57
do_action( 'action_scheduler/migration_complete' );

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

woocommerce/packages/action-scheduler/classes/abstracts/ActionScheduler.php 184
add_action( 'action_scheduler/migration_complete', 'ActionScheduler_WPCommentCleaner::maybe_schedule_cleanup' );