Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function tf_add_select2_js() {
- echo '
- <script>
- (function( $ ){
- $("#shipping_state").select2();
- })(jQuery);
- </script>
- ';
- }
- add_action( 'woocommerce_after_checkout_form', 'tf_add_select2_js');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement