Yoast\WP\SEO\Helpers

Indexing_Helper::get_unindexed_count()publicYoast 1.0

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

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;
}