You forgot to add the existing taxonomies to the array you’re returning. try this:
function get_new_taxonomies ( $taxonomies) {
return array_merge($taxonomies, get_object_taxonomies('my_custom_post_type'));
}
add_filter('wp_taxonomies', get_new_taxonomies );
$wp_taxonomies_result = WP_Taxonomies::get_taxonomies();
Related Posts:
- Display taxonomy with a maximum number of letters
- Hierarchical taxonomy UI
- How to remove “Taxonomy name:” from wp_title
- How can I display parent and child taxonomies in separate drop downs?
- Help With issue on pre_get_posts filter in taxonomy
- Taxonomies not appearing in columns on dashboard
- Filtering more than one term in a taxonomy in WP
- How to display term description in empty terms archive?
- Save Filter for Taxonomies
- How to filter WordPress search, excluding post in some custom taxonomies?
- Search by type posts and taxonomy
- Current category link filter
- ‘wp’ action hook not firing in admin and login?
- How Can I Change a Taxonomy URL Based On The Originating URL?
- Simple Filter between multiple taxonomys
- Get parent and children taxonomy in different dropbox
- Unexpected results from get_taxonomies() and {$taxonomy}_edit_form and related hook
- put custom taxonomy slug in front of their respective term slugs
- Template filter for custom taxonomy terms
- Remove custom taxonomy column from my custom post type columns
- Is it safe to register a taxonomy without using any hooks?
- What is the action hook that deletes a taxonomy term from the backend? And how to retireve the term id before deleting it?
- How to Modify Default Text in a Custom Taxonomy Admin Panel?
- Query posts using custom taxonomy and selected terms
- Reverse order of posts in a certain taxonomy archive?
- Build filter for post-type + multi taxonomies + multi terms
- Advanced search redirecting to another page then filter further
- Is there a way to change select-list for new custom taxonomy?
- Drop-down filter doesn’t retrieve custom taxonomies
- Creating a drop-down and filter button for two custom taxonomies assigned to a custom post type
- Filter with two id of the same value CPT UI(taxanomies)
- Amend taxonomy to search in wordpress admin
- Include get_term_link inside search
- Keeping session instance of random display results over pagination breaks
- Store a value in global scope after init hook is fired
- deleted_$taxonomy not getting fired
- How to filter a page title with custom taxonomies
- How to paginate with an query var appended to permalink?
- Custom button on custom taxonomy listing page
- Sort Taxonomy List by Custom Values
- How can I get the term_id from the action hook ‘set_object_terms’?
- Hook to filter based on form value and insert term
- Hook function when taxonomy terms change
- Passing a parameter to filter and action functions
- Is there a way to ‘Lock’ a Taxonomy?
- How to add taxonomy filter on the query fly?
- How do you use the plugin boilerplate loader class to hook actions and filters?
- wp_insert_term is adding a term that has no name
- Get total number of comments from posts in a specific custom taxonomy
- Display one post from each term in a custom taxonomy [closed]
- Connect Users and Taxonomies
- WordPress json api taxonomy index method
- How to limit the pages displayed for choosing parent page on page attribute’s menu?
- get_terms showing link to category even if all posts are drafts
- Change in custom taxonomy permalink causes 404 error for another custom taxonomy
- Checking if a Page has an Associated Term?
- Displaying ACF image field [closed]
- Synchronize Custom post type tags to WordPress default posts tags
- Taxonomy.php issue with search and filters
- get_current_screen() return null
- How do I target a single page to modify the comment form of only that page?
- use wpml_post_language_details function other plugin based on $post->ID [closed]
- Filtering WooCommerce Orders by Category
- How to filter backend post list showing only posts having a shortcode
- How to get all queries’s results after they have executed?
- Output single post custom taxonomy child terms
- How to check if a post has at least 2 terms from a custom taxonomy attached?
- Custom Taxonomy template not display
- pre_get_posts post_meta event
- How can I add a custom permalink to a term?
- Custom taxonomy display name issue
- Variable Not Working Inside is_author() Array
- How do I hide a term from non-admin users in get_the_term_list?
- Can I output a custom taxonomy as a submenu in the site navigation menu?
- Sort taxonomy page alphabetically by meta rather than default post date
- using wp_insert_term to create custom terms for a custom taxonomy from frontend form,
- How to sort WooCommerce products page by latest in-stock items first?
- Replace Data In Post & Update Meta Field Post Is Saved
- Get Terms of custom Taxonomy of products with certain Product Category
- Clean Taxonomy terms in new post type wordpress
- Custom dropdown list taxonomy not saved
- WordPress taxonomy terms archive template help
- How to get all the terms from a custom hierarchical taxonomy via REST api?
- Display multiple taxonomies in a function
- Filter wp_mail based on content type
- Remove Custom metabox from particular page template is used
- generate random slug when adding taxonomy
- Add and Custom category for posts “PAGE”
- WordPress Main Menu with dynamic url
- wp_insert_post and custom taxonomy
- Only seems to be displaying one child when there are supposed to be multiple
- WP Dashboard -> Posts-> Filter by Category -> Form Method Change : Which Hook
- Custom post type term names with ampersand in the term name
- How to query authors by custom taxonomy?
- Display custom post term or taxonomy
- Attaching meta box to specific category/taxonomy in custom post type
- Display custom post taxonomies
- Custom Taxonomy type in nav menu
- Custom Fields link to other pages, not search
- Gravity Forms with Advanced Post Creation Add-On not updating ACF fields on custom taxonomy