Created
May 6, 2016 14:50
-
-
Save digitalchild/8092b55087eb13fd38c9502dfaa6d158 to your computer and use it in GitHub Desktop.
Service drop down
This file contains 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 | |
WCVendors_Pro_Form_Helper::select2( array( | |
'post_id' => $object_id, | |
'id' => 'service[]', | |
'label' => __( 'Service Type', 'wc_simple_hosts' ), | |
'wrapper_start' => '<div class=”all-100″>', | |
'wrapper_end' => '</div>', | |
'taxonomy' => 'pa_service', | |
'taxonomy_args' => array( 'hide_empty'=>false ), | |
'custom_attributes' => array( 'multiple' => 'multiple', ), | |
'class' => 'select2', | |
) ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment