wpseo_add_cleanup_counts_to_indexable_bucket хук-событиеYoast 1.0

Action: Adds the possibility to add additional to be cleaned objects.

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

add_action( 'wpseo_add_cleanup_counts_to_indexable_bucket', 'wp_kama_wpseo_add_cleanup_counts_to_indexable_bucket_action' );

/**
 * Function for `wpseo_add_cleanup_counts_to_indexable_bucket` action-hook.
 * 
 * @param To_Be_Cleaned_Indexable_Bucket $to_be_cleaned_indexable_bucket An indexable cleanup bucket. New values are instances of To_Be_Cleaned_Indexable_Count.
 *
 * @return void
 */
function wp_kama_wpseo_add_cleanup_counts_to_indexable_bucket_action( $to_be_cleaned_indexable_bucket ){

	// action...
}
$to_be_cleaned_indexable_bucket(To_Be_Cleaned_Indexable_Bucket)
An indexable cleanup bucket. New values are instances of To_Be_Cleaned_Indexable_Count.

Где вызывается хук

To_Be_Cleaned_Indexables_Collector::add_additional_counts()
wpseo_add_cleanup_counts_to_indexable_bucket
yoast/src/analytics/application/to-be-cleaned-indexables-collector.php 76
\do_action( 'wpseo_add_cleanup_counts_to_indexable_bucket', $to_be_cleaned_indexable_bucket );

Где используется хук в Yoast SEO

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