As far as capabilities are concerned there is no distinction between creating new terms and assigning them to posts. So it’s not possible through capabilities alone to only allow users to assign pre-defined terms. This likely has its roots in the UI which, especially for tags, is designed around creating terms when writing posts. The UI does not have a selection-only state.
The usual method of customising the behaviour of capabilities, which is using the map_meta_cap
filter, will not work either. This is because there is no reliable way to know whether a check against assign_terms
is a check for assigning a term, or creating one.
Your only option may be to implement your own custom UI, with your back end layer that can handle requests to create terms after checking your own custom capability.
Related Posts:
- Custom taxonomies capabilities
- How to assign multiple roles for capabilities array withini register_taxonomy function?
- How do you add custom taxonomy capabilities exactly?
- User role permissions based on taxonomies
- Custom Taxonomies Cababilities
- User: Editor, can’t see edit taxonomy screen
- How to set custom capabilities for custom taxonomies?
- custom taxonomy not showing up after adding capabilities upon updating to WP 5.1.1
- How to set “manage categories” capabilities on a post type taxonomy but not on the general categories?
- How to modify a taxonomy that’s already registered
- Remove taxonomy base or term from url
- Bulk term assignment for attachment taxonomies
- Why is my working Custom Taxonomy not in get_taxonomies array?
- Custom taxonomy listing page when no term set (all terms)
- Custom order of terms for custom taxonomy in admin and website
- RSS Feed for posts containing any term from a taxonomy
- How to enable hierarchical permalinks for hierarchical taxonomies
- Exclude Child Term Posts from Parent Term Archive
- Create taxonomy with meta term using the WP Rest Api
- Use custom posts as taxonomy term meta replacement?
- Remove description in custom taxonomy edit screen
- Taxonomies not appearing in columns on dashboard
- Make Custom Taxonomy Category Use Parent Template
- Custom taxonomy template not working
- How to call custom taxonomy categories with shortcodes
- How to get terms of a custom post type in a loop inside footer.php
- List only first-level children of specific custom taxonomy term
- Sorting Posts Via Custom Taxonomy Values Using Checkboxes?
- get / list categories and counts filtered by custom taxonomy term
- How do I make a custom taxomony appear like tags?
- Refine user taxonomy query based on role
- Get ID and slug from taxonomy object
- List the number of posts for each custom taxonomy and specific custom field value
- Recreating the hierarchy of taxonomies for a dropdown form menu?
- showing custom taxonomies w/custom post type
- Display sub categories and their data of a taxonomy
- Exclude Taxonomy Terms from Template Via Back End?
- wp_insert_post not updating custom taxonomy selected if logged in as a subscriber
- How to overwrite registered taxonomy url from vendor plugin in child theme
- Dynamic loading of Archive content based on custom taxonomy term name
- Checking return with WP Error
- Why is the custom taxonomy archive page redirecting me to a single post? [closed]
- Rewrite URL for taxonomy listing
- Set taxonomy fields on post with AJAX
- Show related posts that match two categories
- Failure to add term meta
- Filter custom taxonomy archive posts by 2nd custom taxonomy using select dropdown
- How to show all post related taxonomies
- get_term_children returns unknown int though term has no child
- Limit number of posts in wp loop
- Custom taxonomy pagination
- Get the taxonomy of the post
- using wp_tag_cloud with custom taxonomy
- If Custom Taxonomy
- Use the same taxonomy twice on the same post type?
- When filtering query on custom taxonomy; main menu dissapears
- How to write sql query to get the posts from a custom taxonomy term name
- How to do a particular wp_query taxonomy search
- Get only immediate children (and not grandchildren) of a hierarchical custom taxonomy term
- How to group all terms children’s in custom taxonomy?
- Build filter for post-type + multi taxonomies + multi terms
- Custom taxonomies mixed into categories and tags in Post edit page
- get_term_by works but get_terms doesn’t?
- How to get product order by two custom taxonomy in wordpress
- How can i add custom field inside custom post taxonomy?
- Custom Taxonomy Not Saving in Front End Post
- How to list Custom Taxonomy
- How to output taxonomy term (incl. link to archive) on author.php?
- Featured Images for Tags?
- Taxonomize taxonomy terms?
- displaying posts from a custom post type tags
- Showing relevant categories on custom taxonomy template
- Creating a drop-down and filter button for two custom taxonomies assigned to a custom post type
- custom taxonomies on pages
- Conditional if is single and part of the custom taxonomy
- how to show product custom taxonomies in woocommerce rest api
- Auto add custom taxonomy to permalink when save
- WP Tax query & order by tax query not working
- Show latest used taxonomy in homepage
- Link a page from admin to a custom taxonomy
- What’s the url queryvar for a taxnomy archive?
- set_object_terms for custom taxonomy in custom post type – not working
- Get all users attached to a taxonomy
- List active taxonomy terms
- Permalink Rewrite to include Custom Taxonomy Term
- How do you move custom fields to custom taxonomies using WP Queries
- Where is defined a custom register_taxonomy? [closed]
- Differentiate Parent & Child of Custom Taxonomy
- Listing all selected terms for custom taxonomies on a post
- Multiple Taxonomy in URL/Query – No Custom Post Type
- Calling Custom Taxonomy Dropdown in Form
- Show different sidebar on taxonomy pages when a default is set
- Taxonomy Extra Meta [duplicate]
- How can I query for all values of a custom taxonomies?
- How can I get parent term from a child term
- Custom Taxonomy – Archive for the whole Custom Taxonomy (and not just single term)?
- get_terms() – unexpected ‘=>’ (T_DOUBLE_ARROW) error
- ACF Display Taxonomy Image Field
- Guest author – URL, base and custom taxonomy – working but unstable
- Best approach of implementing multi-select/checkboxes for taxonomies?