woocommerce_regenerate_variation_summaries_sync_threshold

woocommerce_regenerate_variation_summaries_sync_threshold

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.10.2.2

apply_filters('woocommerce_regenerate_variation_summaries_sync_threshold') is found 1 times:

  • /includes/class-wc-post-data.php line 715
    		 * @since 10.2.0
    		 * @param int $threshold The default threshold value (50).
    		 * @return int The filtered threshold value.
    		 */
    		return absint( apply_filters( 'woocommerce_regenerate_variation_summaries_sync_threshold', 50 ) );
    	}
    
    	/**
    	 * Handles updates to a global attribute by triggering variation summary regeneration.
    	 *
    	 * @since 10.2.0