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

Filter: 'wpseo_chunk_bulked_insert_queries' - Allow filtering the chunk size of each bulked INSERT query.

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

add_filter( 'wpseo_chunk_bulk_insert_queries', 'wp_kama_wpseo_chunk_bulk_insert_queries_filter' );

/**
 * Function for `wpseo_chunk_bulk_insert_queries` filter-hook.
 * 
 * @param int $100 The chunk size of the bulked INSERT queries.
 *
 * @return int
 */
function wp_kama_wpseo_chunk_bulk_insert_queries_filter( $100 ){

	// filter...
	return $100;
}
$100(int)
The chunk size of the bulked INSERT queries.

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

ORM::insert_many()
wpseo_chunk_bulk_insert_queries
yoast/lib/orm.php 2256
$chunk = \apply_filters( 'wpseo_chunk_bulk_insert_queries', 100 );

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

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