wpseo_chunk_bulk_insert_queries

wpseo_chunk_bulk_insert_queries

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-seo.24.1

apply_filters('wpseo_chunk_bulk_insert_queries') is found 1 times:

  • /lib/orm.php line 2257

    * Filter: ‘wpseo_chunk_bulked_insert_queries’ – Allow filtering the chunk size of each bulked INSERT query.
    *
    * @param int $chunk_size The chunk size of the bulked INSERT queries.
    */
    $chunk = \apply_filters( ‘wpseo_chunk_bulk_insert_queries’, 100 );
    $chunk = ! \is_int( $chunk ) ? 100 : $chunk;
    $chunk = ( $chunk <= 0 ) ? 100 : $chunk; $chunked_models = \array_chunk( $models, $chunk ); foreach ( $chunked_models as $models_chunk ) { $values = []; [/php]