autoship_override_variable_frequency_options_default

(src > product-options.php) Allows you to override the default setting for the Overrode Defaults frequency option for Variable products. Takes the current setting and the product or variation ids.

Example

// change custom default frequency of product 2-row malt (milled, 2 lbs) #2718
function xx_override_variation_custom_frequencies ($override, $variation_id){
    // return 'yes';
    return $variation_id == 2718 ? 'yes' : $override;
}
add_filter('autoship_override_variable_frequency_options_default', 'xx_override_variation_custom_frequencies', 10, 2);