WordPress at Your Fingertips
function is not described

ActionScheduler_wpPostStore::mark_migrated() public WC 1.0

Mark action as migrated when there is an error deleting the action.

{} It's a method of the class: ActionScheduler_wpPostStore{}

No Hooks.

Return

null. Nothing.

Usage

$ActionScheduler_wpPostStore = new ActionScheduler_wpPostStore();
$ActionScheduler_wpPostStore->mark_migrated( $action_id );
$action_id(int) (required)
Action ID.

Code of ActionScheduler_wpPostStore::mark_migrated() WC 6.1.1

public function mark_migrated( $action_id ) {
	wp_update_post(
		array(
			'ID'          => $action_id,
			'post_status' => 'migrated',
		)
	);
}