Yoast\WP\SEO\Bulk_Editor\Domain\Posts
Posts_Query::get_author_id
Returns the author to limit posts to.
Метод класса: Posts_Query{}
Хуков нет.
Возвращает
int|null. The author ID, or null for no author restriction.
Использование
$Posts_Query = new Posts_Query(); $Posts_Query->get_author_id(): ?int;
Код Posts_Query::get_author_id() Posts Query::get author id Yoast 28.9
public function get_author_id(): ?int {
return $this->author_id;
}