Yoast\WP\SEO\Schema\Application\Configuration
Schema_Configuration::__construct
Schema_Configuration constructor.
Метод класса: Schema_Configuration{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Schema_Configuration = new Schema_Configuration(); $Schema_Configuration->__construct( $woocommerce_helper, $product_helper, $addon_manager, $options_helper );
- $woocommerce_helper(Woocommerce_Helper) (обязательный)
- The WooCommerce helper.
- $product_helper(Product_Helper) (обязательный)
- The product helper.
- $addon_manager(WPSEO_Addon_Manager) (обязательный)
- The addon manager.
- $options_helper(Options_Helper) (обязательный)
- The options helper.
Код Schema_Configuration::__construct() Schema Configuration:: construct Yoast 27.7
public function __construct(
Woocommerce_Helper $woocommerce_helper,
Product_Helper $product_helper,
WPSEO_Addon_Manager $addon_manager,
Options_Helper $options_helper
) {
$this->woocommerce_helper = $woocommerce_helper;
$this->product_helper = $product_helper;
$this->addon_manager = $addon_manager;
$this->options_helper = $options_helper;
}