Yoast\WP\SEO\Routes

Yoast_Head_REST_Field::__construct()publicYoast 1.0

Yoast_Head_REST_Field constructor.

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

Хуков нет.

Возвращает

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

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

$Yoast_Head_REST_Field = new Yoast_Head_REST_Field();
$Yoast_Head_REST_Field->__construct(;

Код Yoast_Head_REST_Field::__construct() Yoast 22.4

public function __construct(
	Post_Type_Helper $post_type_helper,
	Taxonomy_Helper $taxonomy_helper,
	Post_Helper $post_helper,
	Indexable_Head_Action $head_action
) {
	$this->post_type_helper = $post_type_helper;
	$this->taxonomy_helper  = $taxonomy_helper;
	$this->post_helper      = $post_helper;
	$this->head_action      = $head_action;
}