wpseo_post_type_archive_indexation_limit хук-фильтр . Yoast 1.0
Filter 'wpseo_post_type_archive_indexation_limit' - Allow filtering the number of posts indexed during each indexing pass.
Использование
add_filter( 'wpseo_post_type_archive_indexation_limit', 'filter_function_name_760' ); function filter_function_name_760( $25 ){ // filter... return $25; }
- $25(число)
- The maximum number of posts indexed.
Где вызывается хук
wpseo_post_type_archive_indexation_limit
yoast/src/actions/indexing/indexable-post-type-archive-indexation-action.php 105
$limit = \apply_filters( 'wpseo_post_type_archive_indexation_limit', 25 );