/////////////////////////////////////// Woo Commerce /////////////////////////////////////// // Hook in add_filter( 'woocommerce_checkout_fields' , 'custom_override_checkout_fields' ); // Our hooked in function - $fields is passed via the filter! function custom_override_checkout_fields( $fields ) { $fields['shipping']['shipping_position'] = array( 'label' => __('Position', 'woocommerce'), 'placeholder' => _x('Position', 'placeholder', 'woocommerce'), 'required' => false, 'class' => array('form-row-wide'), 'clear' => true ); return $fields; }
Warning: Cannot modify header information - headers already sent by (output started at /home/content/04/11631704/html/wp-content/themes/nouvelles/functions.php:598) in /home/content/04/11631704/html/wp-includes/pluggable.php on line 1121