Yoast\WP\SEO\Bulk_Editor\Domain\Posts

Posts_Query::get_author_id │ public │ Yoast 1.0

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() Yoast 28.9

public function get_author_id(): ?int {
	return $this->author_id;
}