Automattic\WooCommerce\Internal\DataStores\Orders

CustomOrdersTableController::show_feature()publicWC 1.0

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.

{} It's a method of the class: CustomOrdersTableController{}

No Hooks.

Return

null. Nothing.

Usage

$CustomOrdersTableController = new CustomOrdersTableController();
$CustomOrdersTableController->show_feature();

Code of CustomOrdersTableController::show_feature() WC 7.1.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'
	);
}