Yoast\WP\SEO\Presentations
Indexable_Post_Type_Presentation::__construct
Indexable_Post_Type_Presentation constructor.
Метод класса: Indexable_Post_Type_Presentation{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Indexable_Post_Type_Presentation = new Indexable_Post_Type_Presentation(); $Indexable_Post_Type_Presentation->__construct( $post_type, $date, $pagination, $post );
- $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 27.6
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;
}