Yoast\WP\SEO\Schema_Aggregator\Application
Aggregate_Site_Schema_Command::__construct
The constructor.
Метод класса: Aggregate_Site_Schema_Command{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Aggregate_Site_Schema_Command = new Aggregate_Site_Schema_Command(); $Aggregate_Site_Schema_Command->__construct( $page, $per_page, $post_type );
- $page(int) (обязательный)
- The current page.
- $per_page(int) (обязательный)
- The number of items per page.
- $post_type(строка) (обязательный)
- The post type to aggregate schema for.
Код Aggregate_Site_Schema_Command::__construct() Aggregate Site Schema Command:: construct Yoast 27.7
public function __construct( int $page, int $per_page, string $post_type ) {
$this->page_controls = new Page_Controls( $page, $per_page, $post_type );
}