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

Filter wpseo_indexables_buffer_size Allow filtering the size of the buffer for the Indexables lists, in terms of how many times bigger it is from the lists' size.

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

add_filter( 'wpseo_indexables_buffer_size', 'wp_kama_wpseo_indexables_buffer_size_filter' );

/**
 * Function for `wpseo_indexables_buffer_size` filter-hook.
 * 
 * @param int $self::BUFFER_SIZE The size of the buffer for the Indexables lists, in terms of how many times bigger it is from the lists' size.
 *
 * @return int
 */
function wp_kama_wpseo_indexables_buffer_size_filter( $self::BUFFER_SIZE ){

	// filter...
	return $self::BUFFER_SIZE;
}
$self::BUFFER_SIZE(int)
The size of the buffer for the Indexables lists, in terms of how many times bigger it is from the lists' size.

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

Indexables_Page_Helper::get_buffer_size()
wpseo_indexables_buffer_size
yoast/src/helpers/indexables-page-helper.php 74
$times = \apply_filters( 'wpseo_indexables_buffer_size', self::BUFFER_SIZE );

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

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