Automattic\WooCommerce\Internal\DataStores\Orders

CustomOrdersTableController::is_feature_visible()publicWC 1.0

Checks if the feature is visible (so that dedicated entries will be added to the debug tools page).

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

Хуков нет.

Возвращает

true|false. True if the feature is visible.

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

$CustomOrdersTableController = new CustomOrdersTableController();
$CustomOrdersTableController->is_feature_visible(): bool;

Код CustomOrdersTableController::is_feature_visible() WC 7.3.0

public function is_feature_visible(): bool {
	return $this->features_controller->feature_is_enabled( 'custom_order_tables' );
}