Yoast\WP\SEO\Helpers

Wordproof_Helper::__construct()publicYoast 1.0

WordProof_Helper constructor.

{} Это метод класса: Wordproof_Helper{}

Хуков нет.

Возвращает

null. Ничего.

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

$Wordproof_Helper = new Wordproof_Helper();
$Wordproof_Helper->__construct( $current_page, $woocommerce, $options );
$current_page(Current_Page_Helper) (обязательный)
The current page helper.
$woocommerce(Woocommerce_Helper) (обязательный)
The woocommerce helper.
$options(Options_Helper) (обязательный)
The options helper.

Код Wordproof_Helper::__construct() Yoast 19.7.1

public function __construct( Current_Page_Helper $current_page, Woocommerce_Helper $woocommerce, Options_Helper $options ) {
	$this->current_page = $current_page;
	$this->woocommerce  = $woocommerce;
	$this->options      = $options;
}