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

Filter wpseo_aioseo_post_indexation_limit Allow filtering the number of posts indexed during each indexing pass.

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

add_filter( 'wpseo_aioseo_post_indexation_limit', 'wp_kama_wpseo_aioseo_post_indexation_limit_filter' );

/**
 * Function for `wpseo_aioseo_post_indexation_limit` filter-hook.
 * 
 * @param int $25 The maximum number of posts indexed.
 *
 * @return int
 */
function wp_kama_wpseo_aioseo_post_indexation_limit_filter( $25 ){

	// filter...
	return $25;
}
$25(int)
The maximum number of posts indexed.

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

Aioseo_Posts_Importing_Action::get_limit()
wpseo_aioseo_post_indexation_limit
yoast/src/actions/importing/aioseo/aioseo-posts-importing-action.php 386
$limit = \apply_filters( 'wpseo_aioseo_post_indexation_limit', 25 );

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

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