Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $args = array(
- 'object_type' => array( 'hotels' )
- );
- $output = 'names'; // or objects
- $operator = 'and'; // 'and' or 'or'
- $taxonomies = get_taxonomies( $args, $output, $operator );
- if ( $taxonomies ) {
- foreach ( $taxonomies as $taxonomy ) {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement