Yoast\WP\SEO\Helpers
Indexing_Helper::get_unindexed_count()
Returns the total number of unindexed objects.
Метод класса: Indexing_Helper{}
Хуков нет.
Возвращает
int
. The total number of unindexed objects.
Использование
$Indexing_Helper = new Indexing_Helper(); $Indexing_Helper->get_unindexed_count();
Код Indexing_Helper::get_unindexed_count() Indexing Helper::get unindexed count Yoast 22.4
public function get_unindexed_count() { $unindexed_count = 0; foreach ( $this->indexing_actions as $indexing_action ) { $unindexed_count += $indexing_action->get_total_unindexed(); } return $unindexed_count; }