Logo Logo Logo Logo Logo
  • Work Overview
  • Code Snippets Central
  • About
  • Contact
  • Work Overview
  • Code Snippets Central
  • About
  • Contact
Back to all articles →

Topic: Actions and Filters / Functions PHP File / Gutenberg / WooCommerce / Wordpress

09 Feb Customize WooCommerce Product Drop Down

Posted at 20:10h in Actions and Filters, Functions PHP File, Gutenberg, WooCommerce, Wordpress by Atkinson
add_filter( 'woocommerce_dropdown_variation_attribute_options_args', 'atk_filter_dropdown_args', 10 );

function atk_filter_dropdown_args( $args ) {
    $args['show_option_none'] = 'Choose size';
    return $args;
}


Facebook • Instagram • Dribbble • Twitter • LinkedIn
Copyright © Janet Atkinson 2023. All Rights Reserved.
Images and/or Artwork may not redistributed, reproduced, or republished without prior written permission.


For fine art painting and other personal work by Janet Atkinson please visit janetatkinsonstudio.com