Automattic\WooCommerce\Internal\DataStores\Orders
CustomOrdersTableController::auto_flip_authoritative_table_enabled()
Is the automatic authoritative table switch setting set?
Метод класса: CustomOrdersTableController{}
Хуков нет.
Возвращает
true|false
.
Использование
// private - только в коде основоного (родительского) класса $result = $this->auto_flip_authoritative_table_enabled(): bool;
Код CustomOrdersTableController::auto_flip_authoritative_table_enabled() CustomOrdersTableController::auto flip authoritative table enabled WC 7.3.0
private function auto_flip_authoritative_table_enabled(): bool { return get_option( self::AUTO_FLIP_AUTHORITATIVE_TABLE_ROLES_OPTION ) === 'yes'; }