Yoast\WP\SEO\Presentations
Indexable_Post_Type_Presentation::__construct() public Yoast 1.0
Indexable_Post_Type_Presentation constructor.
{} Это метод класса: Indexable_Post_Type_Presentation{}
Хуков нет.
Возвращает
Null. Ничего.
Использование
$Indexable_Post_Type_Presentation = new Indexable_Post_Type_Presentation(); $Indexable_Post_Type_Presentation->__construct(;
- $post_type(Post_Type_Helper) (обязательный)
- The post type helper.
- $date(Date_Helper) (обязательный)
- The date helper.
- $pagination(Pagination_Helper) (обязательный)
- The pagination helper.
- $post(Post_Helper) (обязательный)
- The post helper.
Код Indexable_Post_Type_Presentation::__construct() Indexable Post Type Presentation:: construct Yoast 15.6.2
public function __construct(
Post_Type_Helper $post_type,
Date_Helper $date,
Pagination_Helper $pagination,
Post_Helper $post
) {
$this->post_type = $post_type;
$this->date = $date;
$this->pagination = $pagination;
$this->post = $post;
}