Yoast\WP\SEO\Bulk_Editor\Application\Posts

Posts_Collector_Interface::get_posts │ public │ Yoast 1.0

Collects a page of posts for the given query.

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

Хуков нет.

Возвращает

Posts_Page. The collected posts together with the totals for pagination.

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

$Posts_Collector_Interface = new Posts_Collector_Interface();
$Posts_Collector_Interface->get_posts( $query ): Posts_Page;
$query(Posts_Query) (обязательный)
The query describing the page to collect.

Код Posts_Collector_Interface::get_posts() Yoast 28.9

public function get_posts( Posts_Query $query ): Posts_Page;