First hook the save_post action: http://codex.wordpress.org/Plugin_API/Action_Reference/save_post
Then check capabilities: You have docs on that right?
Then get_the_terms for the $post_id provided by save_post and the taxonomy you want to check. http://codex.wordpress.org/Function_Reference/get_the_terms
Then if they are using a term (see note below) they are not allowed to use either stop/delete the post, set a warning, or remove the term.
Note: a taxonomy is a list of terms that can be applied to a post. Example: the taxonomy “Nation” would contain terms like “Mexico”, “France”, and “India”
Related Posts:
- Restrict user to terms in a custom taxonomy registered for both posts and users
- How to prevent new terms being added to a custom taxonomy?
- How to add images to taxonomies?
- Read-only taxonomy (user can assign term but can’t create or edit existing terms)
- Can you add the visual editor to the description field for custom taxonomies?
- Adding Category/Tag/Taxonomy Support to Images/Media
- A better Media LIbrary Experience
- Custom Taxonomy Leads to 404 Page – Permalink Structure Flushed
- wp_insert_term auto unique name
- How to get the page slug of the current archive page for a custom taxonomy
- search query within custom taxonomy term, post title and meta field
- The same slug in multiple taxonomies
- Sort posts by number of matched terms
- How can I display parent and child taxonomies in separate drop downs?
- Display a custom taxonomy as a dropdown on the edit posts page
- Possible to register multiple custom taxonomies in one function?
- How to show taxonomy meta on frontpage?
- Display the taxonomy name of the current term
- Require a Custom Taxonomy to be checked
- How to add a body class based on a custom taxonomy term
- Can I create custom taxonomy what dont creates slug pages?
- Dynamically tax_query terms
- User role permissions based on taxonomies
- get_the_terms() to show all custom taxonomies
- Make tag cloud links consistent
- Get Taxonmy Term ID For Current Post
- Can I limit term selection to one plus parent?
- Insert form checkbox at bottom of taxonomy edit term page
- Taxonomy archive showing no results
- Hide posts having children terms when display posts by category in edit.php
- Get posts by term slug only
- Changing taxonomy term by slug (wp_update_term)
- Custom Taxonomy Term Caching?
- Controlling Taxonomy Category listings to hide and unhide specifics
- How do I create a custom archive page depending on the custom taxonomy type?
- How to Rewrite Taxonomy URL to Include the Post Type as the Second Segment of the URL?
- Add Custom Taxonomy for Blog Meta Info
- Include parent and child in category url
- woocommerce custom product category template
- Custom taxonomy multiples
- Is there a template file to list all terms of a given custom taxonomy?
- Assign terms to new capability for all taxonomies
- Widget Logic use with Custom Taxonomy
- List of users inside custom taxonomy
- Rewrite Rules returning wrong data
- Output unique taxonomy terms of posts inside a loop
- Taxonomy terms can still be added when only assign_terms capability has been granted
- Use an HTML Element To Filter Taxonomies In WP Search
- Weekdays as terms – How to order taxonomy terms by ID in admin panel?
- How to display ACF taxonomy checkbox links on WooCommerce product category archive
- How to find taxonomy parent id from child taxonomy page?
- Can I add other Custom Taxonomy to my syntax (functions.php)
- How to remove the search field in custom taxonomy ui?
- How to add hierarchical taxonomy with parent child relation to URL?
- How to show post for a particular term of custom taxonomy?
- Is there a way to change select-list for new custom taxonomy?
- How to get the term description in a taxonomy term archive query?
- Chaining Taxonomy Queries
- How to list terms by first letter, as in A’s then B’s etc
- Taxonomy hide not working
- Admin only taxonomies?
- new custom filed not showing in taxonomy
- Create new Taxonomy, add extra fields, register terms AND extra fields values?
- Rewriting url for multiple Taxonomies and Custom Post Type
- Why is the category item count not updating after assigning a category?
- See double taxonomy inputs in WP editor
- How to change custom categories term links?
- Body class to each level of a hierarchical custom taxonomy
- Dropdown (with onChange) with custom taxonomies
- Restructuring permalink with more than one taxonomies
- How to limit custom post category
- How to get a terms and posts associated with another term?
- How to use two same taxonomy in same post differently?
- Custom taxonomy name not being translated in post manager page
- ajax drop down change second drop down data
- Redirect or Prevent Viewing of Custom Taxonomy’s Archives?
- Display taxonomy term slugs
- Automatically Populate Post Taxonomy Data Based on Post Author Meta Data?
- Get Posts by tag from a custom taxonomy
- Can I use multi (sub) levels of relation (AND | OR) on custom query?
- Tax query array terms display out of order
- How to change taxonomy slug?
- Taxonomy to WordPress Permalinks of custom post type
- Avoiding stripping of HTML in Custom Taxonomy Meta Field
- Advanced AND tax_query in sidebar with 2 taxonomies
- Create WordPress taxonomies based on theme settings
- Alternative for is_taxonomy() to workaround theme’s default sidebar
- Can I use get_term_children to show child terms if they exist and show something else if they don’t?
- Get custom taxonomy term url on archive page
- I’ve got a function that auto creates taxonomy terms – Can it auto delete them as well?
- Get custom taxonomy value of post and output posts in same taxonomy
- Displaying the custom taxonomies side by side on the admin dashboard
- Head Code for Custom Taxonomy
- Adding new terms to custom taxonomy
- List posts grouped by children of a custom taxonomy
- Taxonomy to display form after creation
- How home my code doesn’t display any feature image? Looping through post from a taxonomy and not getting feature images back
- Add taxonomy fields of posts into RSS feed
- Add text in custom taxonomy
- How do I check if a post has a term with a particular ancestor/parent?