Yoast\WP\SEO\Analytics\Application

To_Be_Cleaned_Indexables_Collector::add_additional_counts()privateYoast 1.0

Allows additional tasks to be added via the wpseo_add_cleanup_counts_to_indexable_bucket

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

Возвращает

null. Ничего (null).

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

// private - только в коде основоного (родительского) класса
$result = $this->add_additional_counts( $to_be_cleaned_indexable_bucket );
$to_be_cleaned_indexable_bucket(To_Be_Cleaned_Indexable_Bucket) (обязательный)
The current bucket with data.

Код To_Be_Cleaned_Indexables_Collector::add_additional_counts() Yoast 22.4

private function add_additional_counts( $to_be_cleaned_indexable_bucket ) {
	/**
	 * Action: Adds the possibility to add additional to be cleaned objects.
	 *
	 * @internal
	 * @param To_Be_Cleaned_Indexable_Bucket $bucket An indexable cleanup bucket. New values are instances of To_Be_Cleaned_Indexable_Count.
	 */
	\do_action( 'wpseo_add_cleanup_counts_to_indexable_bucket', $to_be_cleaned_indexable_bucket );
}