Yoast\WP\SEO\Initializers

Woocommerce::declare_custom_order_tables_compatibility()publicYoast 1.0

Declares compatibility with the WooCommerce HPOS feature.

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

Хуков нет.

Возвращает

null. Ничего.

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

$Woocommerce = new Woocommerce();
$Woocommerce->declare_custom_order_tables_compatibility();

Код Woocommerce::declare_custom_order_tables_compatibility() Yoast 19.10

public function declare_custom_order_tables_compatibility() {
	if ( class_exists( '\Automattic\WooCommerce\Utilities\FeaturesUtil' ) ) {
		\Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', WPSEO_FILE, true );
	}
}