Server IP : 104.21.14.103 / Your IP : 3.23.102.165 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/thread-self/root/home/giankuin/thietke365.net/wp-content/plugins/wordpress-seo/src/initializers/ |
Upload File : |
<?php namespace Yoast\WP\SEO\Initializers; use Automattic\WooCommerce\Utilities\FeaturesUtil; use Yoast\WP\SEO\Conditionals\No_Conditionals; /** * Declares compatibility with the WooCommerce HPOS feature. */ class Woocommerce implements Initializer_Interface { use No_Conditionals; /** * Hooks into WooCommerce. */ public function initialize() { \add_action( 'before_woocommerce_init', [ $this, 'declare_custom_order_tables_compatibility' ] ); } /** * Declares compatibility with the WooCommerce HPOS feature. */ public function declare_custom_order_tables_compatibility() { if ( \class_exists( FeaturesUtil::class ) ) { FeaturesUtil::declare_compatibility( 'custom_order_tables', \WPSEO_FILE, true ); } } }