Yoast\WP\SEO\Helpers

Indexing_Helper::get_filtered_unindexed_count()publicYoast 1.0

Returns the total number of unindexed objects and applies a filter for third party integrations.

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

Хуки из метода

Возвращает

int. The total number of unindexed objects.

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

$Indexing_Helper = new Indexing_Helper();
$Indexing_Helper->get_filtered_unindexed_count();

Код Indexing_Helper::get_filtered_unindexed_count() Yoast 23.5

public function get_filtered_unindexed_count() {
	$unindexed_count = $this->get_unindexed_count();

	/**
	 * Filter: 'wpseo_indexing_get_unindexed_count' - Allow changing the amount of unindexed objects.
	 *
	 * @param int $unindexed_count The amount of unindexed objects.
	 */
	return \apply_filters( 'wpseo_indexing_get_unindexed_count', $unindexed_count );
}