Created
October 1, 2025 12:51
-
-
Save plugin-republic/8c0c594ad92db70e51898cd3bcd0285c 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_html. | |
| * Modify the HTML for the variation options. | |
| */ | |
| function plugin_republic_dropdown_variation_attribute_options_html( $html, $args ) { | |
| // Modify the $html here | |
| return $html; | |
| } | |
| add_filter( 'woocommerce_dropdown_variation_attribute_options_html', 'plugin_republic_dropdown_variation_attribute_options_html', 10, 2 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment