Yoast\WP\SEO\Repositories
Indexable_Repository::get_total_number_of_indexables()
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() Indexable Repository::get total number of indexables Yoast 22.3
public function get_total_number_of_indexables() { return $this->query()->count(); }