WordPress at Your Fingertips
function is not described

ActionScheduler_DataController::mark_migration_incomplete() public WC 1.0

Unmark migration when a plugin is de-activated. Will not work in case of silent activation, for example in an update. We do this to mitigate the bug of lost actions which happens if there was an AS 2.x to AS 3.x migration in the past, but that plugin is now deactivated and the site was running on AS 2.x again.

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

No Hooks.


null. Nothing.


$result = ActionScheduler_DataController::mark_migration_incomplete();

Code of ActionScheduler_DataController::mark_migration_incomplete() WC 6.1.1

public static function mark_migration_incomplete() {
	delete_option( self::STATUS_FLAG );