Automattic\WooCommerce\Database\Migrations\CustomOrderTable
CLIRunner::disable_compat_mode()
Disables compatibility mode, which keeps the HPOS and posts datastore in sync.
Method of the class: CLIRunner{}
No Hooks.
Return
null
. Nothing (null).
Usage
$CLIRunner = new CLIRunner(); $CLIRunner->disable_compat_mode(): void;
Changelog
Since 9.1.0 | Introduced. |
CLIRunner::disable_compat_mode() CLIRunner::disable compat mode code WC 9.7.1
public function disable_compat_mode(): void { $this->toggle_compat_mode( false ); }