Yoast\WP\SEO\Initializers

Woocommerce::declare_custom_order_tables_compatibility()publicYoast 1.0

Declares compatibility with the WooCommerce HPOS feature.

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

Хуков нет.

Возвращает

null. Ничего (null).

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

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

Код Woocommerce::declare_custom_order_tables_compatibility() Yoast 22.1

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