Automattic\WooCommerce\Internal\DataStores\Orders
CustomOrdersTableController::show_feature()
Makes the feature visible, so that dedicated entries will be added to the debug tools page.
This method shouldn't be used anymore, see the FeaturesController class.
Метод класса: CustomOrdersTableController{}
Хуков нет.
Возвращает
null
. Ничего.
Использование
$CustomOrdersTableController = new CustomOrdersTableController(); $CustomOrdersTableController->show_feature();
Код CustomOrdersTableController::show_feature() CustomOrdersTableController::show feature WC 7.3.0
public function show_feature() { $class_and_method = ( new \ReflectionClass( $this ) )->getShortName() . '::' . __FUNCTION__; wc_doing_it_wrong( $class_and_method, __( "${class_and_method}: The visibility of the custom orders table feature is now handled by the WooCommerce features engine. See the FeaturesController class, or go to WooCommerce - Settings - Advanced - Features.", 'woocommerce' ), '7.0' ); }