You ca use the filters ‘wp_nav_menu_items’ and “wp_nav_menu_{$menu->slug}_items”. See ‘wp-includes/nav-menu-template.php’, line 222.
Related Posts:
- Extend walker class with custom post types [closed]
- Create Custom Post Type Archive Page with Sub Categories Navigation Sidebar
- Adding Custom Taxonomy Archive Link to Nav Menu Shows Up As (Invalid)
- Menu Multiple Taxonomies
- Add/Remove current_page_parent class
- Set menu active state for custom posttype and category, given custom taxonomy term
- Correct classes for WordPress menu items
- Custom Taxonomy Navigation, with current menu items for children?
- Second Set of Eyes: One custom taxonomy shows in Appearance > Menus, one does not
- Use custom walker to add taxonomy terms to main nav menu
- Which Template Page Should I Use?
- Get custom post type categories to show up in menus
- How can I create an automatic drop down menu with my tags?
- WordPress menu with custom taxonomy
- Automatically add CPT UI categories to the menu
- Custom post type category link + add to menu
- List all posts from custom post type by taxonomy
- Custom Taxonomy Showing in WP Menu
- Plugins for putting Custom Post Types into the Menu
- Getting (Invalid) when adding custom taxonomy of custom post type link in menu [closed]
- How to make a single Menu Item call another Mega Menu for Custom Post Types and Custom Taxonomies?
- Highlight specific menu item when custom post is page
- Navigation won’t update to show full path to single post
- Exclude a category from WP_Query
- Check if post type has term
- Custom taxonomy not showing up when adding a new custom post type
- query multiple taxonomies
- wp_set_object_terms() is not replacing term, but creating a new one
- WordPress custom taxonomy URL rewrite on spelling errors
- TV Show database – Best way for structuring it?
- Create an archive page for custom taxonomies
- Renaming Menu Item within Admin Menu Section for a Custom Post Type?
- WordPress Search documentation: how to improve search query using taxonomy terms, custom meta fields?
- custom post type taxonomies UI radiobuttons not checkboxes
- Custom Post Type Archive Template
- Add the .html extension to custom post types
- After deleting a post are terms, and custom meta deleted?
- Show metabox in custom-post-template depending on taxonomy term?
- Custom Permalink for Taxonimie and Custom Post Type
- Adding the taxonomy before the custom post type
- Custom Taxonomy term archive template
- Permalink Structure CPT With Custom Taxonomy Fails
- How do I create filters for custom post types?
- Multiple portfolios and single item in two of them (ideas?)
- Customize the Dashboard Menu Editor
- Pagination for Custom Taxonomy Page [duplicate]
- Display custom post type category, while in a CPT category, then the posts beneath
- Why are taxonomy terms not saving when using custom meta boxes with radio button taxonomy selectors?
- Hide post navigation if current post is in a category with only one post
- I want to change the word “Tags” in WordPress to something else, but how?
- How to have this permalink structure: post_type/postname/custom_inner_page
- Set post terms for multiple posts
- Custom permalink with child taxonomy terms
- Display Registered Taxonomies
- Pagination Not Working for Custom Taxonomy with Custom Query – 404 Error
- Custom Taxonomy Is Being Pulled into a Page, But It Doesn’t Have A Hyperlink
- Querying two taxonomies with tax_query not woking
- Display custom posts randomly in custom taxonomy archive
- WP_Query parameter conflict
- How to get all posts related to particular category name on button click?
- List all Custom Post Type posts excluding certain Taxnomy term
- Display custom posts for each category from its custom taxonomy
- Get custom category ID of current custom post within the loop
- Can’t pull posts of a Custom Post Type based on the custom taxonomy of the CPT
- Conditional Statements
- Get newest created custom category (get_term_by and variables) (outside Loop)
- Custom Taxonomy Taxonomies of Same Name point to first created URL
- Displaying custom taxonomy menu in custom post type archive
- Custom post types templates
- prevent sub categories to show up
- Taxonomy terms with the same name are updated between separate custom post types
- Custom taxonomy permalink without term, redirection to CPT slug
- Menu for taxonomies and posts belongs to taxonomy
- Custom post type category link redirecting to 404 page
- Archive page URL for custom taxonomy and post type
- Display post count for a specific month
- Custom Post Type Archive Page showing as 404
- Create custom post type categories
- Multiple Custom Post Type in Taxonomy Archive Causing White Screen
- Adding a Section for Visitors
- Add other all taxonomies as meta boxes to custom post type
- How to get post type archive category title
- Remove CPT Slug with 2 taxonomies and 1 post meta
- URL with Hierarchical Taxonomies and same slug for all terms and sub-terms
- Should I make a taxonomy to organize data like this?
- Display Custom taxonomy, Child terms and posts in a template Under Specific Parent terms
- Associate custom categories to different user IDs
- archive-{custom_post_type}.php not getting recognized wordpress
- How to retrieve the permalink for a specific (custom) term?
- how to override menu widget?
- changing post type in loop query
- Taxonomy and Rewrite Structure
- Pagination for a Custom Taxonomy
- Trying to create hierarchy between 3-4 custom post types
- Show posts of parent in edit.php
- Custom Post Type Base URL
- Only One Post of Custom Post Type Appearing on Template Page
- Code to show related posts (custom post type and custom taxonomy/category) is messing with other code
- Rewrite Rule for custom post type link with or without taxonomy terms
- How to add to taxonomies to a post type