woocommerce_enable_deprecated_additional_flat_rates

woocommerce_enable_deprecated_additional_flat_rates

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_enable_deprecated_additional_flat_rates') is found 1 times:

  • /includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php line 118
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
            ),
        );
    }
     
    if ( apply_filters( 'woocommerce_enable_deprecated_additional_flat_rates', $this->get_option( 'options', false ) ) ) {
        $settings['additional_rates'] = array(
            'title'       => __( 'Additional rates', 'woocommerce' ),
            'type'        => 'title',
            'default'     => '',
            'description' => __( 'These rates are extra shipping options with additional costs (based on the flat rate).', 'woocommerce' ),
        );