Yoast\WP\SEO\Schema_Aggregator\Domain

Page_Controls::__constructpublicYoast 1.0

The constructor.

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

Хуков нет.

Возвращает

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

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

$Page_Controls = new Page_Controls();
$Page_Controls->__construct( $page, $page_size, $post_type );
$page(int) (обязательный)
The current page.
$page_size(int) (обязательный)
The page size.
$post_type(строка) (обязательный)
The post type.

Код Page_Controls::__construct() Yoast 28.3

public function __construct( int $page, int $page_size, string $post_type ) {
	$this->page      = $page;
	$this->page_size = $page_size;
	$this->post_type = $post_type;
}