Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter('piklist_taxonomies', 'piklist_specialty_taxonomies');
- function piklist_specialty_taxonomies($taxonomies)
- {
- $taxonomies[] = array(
- 'post_type' => 'provider'
- ,'name' => 'specialty'
- ,'configuration' => array(
- 'hierarchical' => true
- ,'labels' => piklist('taxonomy_labels', 'Specialty')
- ,'show_ui' => true
- ,'query_var' => true
- ,'rewrite' => array(
- 'slug' => 'specialty'
- )
- ,'hide_meta_box' => true
- )
- );
- return $taxonomies;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement