Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- Title: Specialties
- Post Type: provider
- context: side
- */
- ?>
- <div class="wp-tab-panel">
- <?php
- piklist('field', array(
- 'type' => 'checkbox'
- ,'scope' => 'taxonomy'
- ,'field' => 'provider_specialties'
- ,'label' => __('Specialties')
- ,'list' => true
- ,'attributes' => array(
- 'class' => 'text'
- )
- ,'choices' => piklist(
- get_terms('specialty',
- array(
- 'hide_empty' => 0
- )
- )
- , array('slug', 'name')
- )
- ));
- ?>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement