Automattic\WooCommerce\Internal\DataStores\Orders

CustomOrdersTableController::auto_flip_authoritative_table_enabled()privateWC 1.0

Is the automatic authoritative table switch setting set?

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

No Hooks.

Return

true|false.

Usage

// private - for code of main (parent) class only
$result = $this->auto_flip_authoritative_table_enabled(): bool;

Code of CustomOrdersTableController::auto_flip_authoritative_table_enabled() WC 7.1.0

private function auto_flip_authoritative_table_enabled(): bool {
	return get_option( self::AUTO_FLIP_AUTHORITATIVE_TABLE_ROLES_OPTION ) === 'yes';
}