Yoast\WP\SEO\Bulk_Editor\Domain\Posts

Posts_Query::has_include │ public │ Yoast 1.0

Returns whether posts are limited to specific post IDs.

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

Хуков нет.

Возвращает

bool. Whether a post ID restriction is set.

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

$Posts_Query = new Posts_Query();
$Posts_Query->has_include(): bool;

Код Posts_Query::has_include() Yoast 28.9

public function has_include(): bool {
	return $this->include_ids !== [];
}