Yoast\WP\SEO\Presentations

Indexable_Author_Archive_Presentation::__construct()publicYoast 1.0

Indexable_Author_Archive_Presentation constructor.

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

Хуков нет.

Возвращает

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

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

$Indexable_Author_Archive_Presentation = new Indexable_Author_Archive_Presentation();
$Indexable_Author_Archive_Presentation->__construct( $post_type, $author_archive );
$post_type(Post_Type_Helper) (обязательный)
The post type helper.
$author_archive(Author_Archive_Helper) (обязательный)
The author archive helper.

Код Indexable_Author_Archive_Presentation::__construct() Yoast 22.4

public function __construct( Post_Type_Helper $post_type, Author_Archive_Helper $author_archive ) {
	$this->post_type      = $post_type;
	$this->author_archive = $author_archive;
}