Created
October 1, 2025 12:46
-
-
Save plugin-republic/c699c13c0311540a06cd2a5bc0840652 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Hook: woocommerce_dropdown_variation_attribute_options_args. | |
| * Modify the parameters for the variation attributes. | |
| */ | |
| function plugin_republic_dropdown_variation_attribute_options_args( $args ) { | |
| // Modify the $args HTML here | |
| return $args; | |
| } | |
| add_filter( 'woocommerce_dropdown_variation_attribute_options_args', 'plugin_republic_dropdown_variation_attribute_options_args', 10, 1 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment