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.8.7.0

apply_filters('woocommerce_enable_deprecated_additional_flat_rates') is found 1 times:

  • /includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php line 116
    		),
    	);
    }
    
    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' ),
    	);