Yoast\WP\SEO\Repositories

Indexable_Repository::get_total_number_of_indexables()publicYoast 1.0

Gets the total number of stored indexables.

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

Хуков нет.

Возвращает

int. The total number of stored indexables.

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

$Indexable_Repository = new Indexable_Repository();
$Indexable_Repository->get_total_number_of_indexables();

Код Indexable_Repository::get_total_number_of_indexables() Yoast 22.3

public function get_total_number_of_indexables() {
	return $this->query()->count();
}