woocommerce_attribute_lookup_regeneration_step_size

woocommerce_attribute_lookup_regeneration_step_size

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

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('woocommerce_attribute_lookup_regeneration_step_size') is found 1 times:

  • /src/Internal/ProductAttributesLookup/DataRegenerator.php line 243
    		 *
    		 * @since 6.3
    		 * @param int $count Default processing step size.
    		 */
    		$products_per_generation_step = apply_filters( 'woocommerce_attribute_lookup_regeneration_step_size', $step_size ?? self::PRODUCTS_PER_GENERATION_STEP );
    
    		$products_already_processed = get_option( 'woocommerce_attribute_lookup_processed_count', 0 );
    
    		$product_ids = WC()->call_function(
    			'wc_get_products',
    			array(