wpseo_indexable_collector_add_indexation_actions хук-фильтрYoast 1.0

Filter: Adds the possibility to add additional indexation actions to be included in the count routine.

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

add_filter( 'wpseo_indexable_collector_add_indexation_actions', 'wp_kama_wpseo_indexable_collector_add_indexation_actions_filter' );

/**
 * Function for `wpseo_indexable_collector_add_indexation_actions` filter-hook.
 * 
 * @param Indexation_Action_Interface $actions This filter expects a list of Indexation_Action_Interface instances and expects only Indexation_Action_Interface implementations to be added to the list.
 *
 * @return Indexation_Action_Interface
 */
function wp_kama_wpseo_indexable_collector_add_indexation_actions_filter( $actions ){

	// filter...
	return $actions;
}
$actions(Indexation_Action_Interface)
This filter expects a list of Indexation_Action_Interface instances and expects only Indexation_Action_Interface implementations to be added to the list.

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

Missing_Indexables_Collector::add_additional_indexing_actions()
wpseo_indexable_collector_add_indexation_actions
yoast/src/analytics/application/missing-indexables-collector.php 63
$indexing_actions = (array) \apply_filters( 'wpseo_indexable_collector_add_indexation_actions', $this->indexation_actions );

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

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