ActionScheduler_DataController::mark_migration_incomplete()public staticWC 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.

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

Хуков нет.

Возвращает

null. Ничего.

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

$result = ActionScheduler_DataController::mark_migration_incomplete();

Код ActionScheduler_DataController::mark_migration_incomplete() WC 6.9.4

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