Automattic\WooCommerce\Internal\DataStores\Orders
CustomOrdersTableController::show_feature()
Метод класса: CustomOrdersTableController{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$CustomOrdersTableController = new CustomOrdersTableController(); $CustomOrdersTableController->*;
Код CustomOrdersTableController::show_feature() CustomOrdersTableController::show feature WC 8.7.0
* * @return bool True if the custom orders table usage is enabled */ public function custom_orders_table_usage_is_enabled(): bool { return get_option( self::CUSTOM_ORDERS_TABLE_USAGE_ENABLED_OPTION ) === 'yes'; } /** * Gets the instance of the orders data store to use. * * @param \WC_Object_Data_Store_Interface|string $default_data_store The default data store (as received via the woocommerce_order_data_store hook). *