Automattic\WooCommerce\Database\Migrations\CustomOrderTable

CLIRunner::disable_compat_mode()publicWC 9.1.0

Disables compatibility mode, which keeps the HPOS and posts datastore in sync.

Метод класса: CLIRunner{}

Хуков нет.

Возвращает

null. Ничего (null).

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

$CLIRunner = new CLIRunner();
$CLIRunner->disable_compat_mode(): void;

Список изменений

С версии 9.1.0 Введена.

Код CLIRunner::disable_compat_mode() WC 9.7.1

public function disable_compat_mode(): void {
	$this->toggle_compat_mode( false );
}