woocommerce_product_import_batch_size

woocommerce_product_import_batch_size

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_product_import_batch_size') is found 1 times:

  • /includes/admin/importers/class-wc-product-csv-importer-controller.php line 370
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
         * @param int $size Batch size.
         *
         * @since 3.1.0
         */
        'lines'              => apply_filters( 'woocommerce_product_import_batch_size', 30 ),
        'parse'              => true,
    );
     
    // Log failures.
    if ( 0 !== $params['start_pos'] ) {
        $error_log = array_filter( (array) get_user_option( 'product_import_error_log' ) );