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

Filter: wpseo_schema_aggregator_per_page_big the page count for post types with lots of schema nodes.

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

add_filter( 'wpseo_schema_aggregator_per_page_big', 'wp_kama_wpseo_schema_aggregator_per_page_big_filter' );

/**
 * Function for `wpseo_schema_aggregator_per_page_big` filter-hook.
 * 
 * @param bool $default_count The default amount of posts per page.
 *
 * @return bool
 */
function wp_kama_wpseo_schema_aggregator_per_page_big_filter( $default_count ){

	// filter...
	return $default_count;
}
$default_count(true|false)
The default amount of posts per page.

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

Config::get_big_per_post_type()
wpseo_schema_aggregator_per_page_big
yoast/src/schema-aggregator/infrastructure/config.php 142
$per_page = (int) \apply_filters( 'wpseo_schema_aggregator_per_page_big', self::DEFAULT_PER_PAGE_BIG_SCHEMA );

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

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