Whilst this doesn’t show a warning as you are asking for, you could always hide the “add new” link using the admin_head action:
function yourprefix_admin_head() {
echo '<style>
#language-add-toggle {
display: none;
}
</style>';
}
add_action('admin_head', 'yourprefix_admin_head');
The element ID is the taxonomy name followed by -add-toggle
.
This is enough for most cases, unless you think your users are a bit devious. Hope it helps.
Related Posts:
- Getting archive pages in WP’s AJAX internal link finder?
- How can I allow a custom taxonomy for certain roles?
- WordPress not saving tags for custom taxonomy term description
- Get term name from term ID?
- Contact Form 7 – Populate Select List With Taxonomy [closed]
- Can custom taxonomies be displayed inside of a custom meta box?
- Post Formats in the context of the Database ‘Save Post’ function
- Get current term’s ID
- How do you add custom taxonomy capabilities exactly?
- Adding Custom taxonomies to Press This panel
- Excluding a custom taxonomy term breaks wp_get_post_terms
- Can I turn off write-in tags/taxonomies?
- If taxonomy exists then to show some code
- Using a different template per Custom Taxonomies for single term archive pages
- How to get Custom Taxonomy ID from the post ID
- How do I add customize_register action AFTER adding a custom taxonomy
- How to get parents of custom taxonomy, as what get_category_parents() do?
- How can I display all post IDs from the taxonomy?
- Woocommerce custom taxonomies page
- Getting yoast title for custom taxonomy
- Keep taxonomy base name in post permalinks
- Outputting an array of term meta values in a custom WooCommerce tab?
- get_terms: determine if taxonomy term has children
- Is it acceptable to build functionality into a theme built for a client? [closed]
- Set a taxonomy as private
- “show option all” on list categories doesn’t display taxonomy
- get_term_children returns WP_Error for custom taxonomy
- Category taxonomy template not working for custom post
- Permalinks for custom taxonomy stopped to work
- ‘Show on screen’ for custom taxonomies does not save
- Displaying terms by first letter
- get_category_link returning page URL
- Same taxonomy for different object types
- Enable the admin to sort custom taxonomy
- Show preset taxonomy description
- Translating a custom taxonomy
- Show all post of taxonomy on base taxonomy URL
- Taxonomies for custom post types
- Taxonomies image
- Howto control custum taxonomy order?
- How do I modify taxonomy term slugs dynamically?
- Redirect on saving term at custom taxnomy
- Getting associated taxonomies
- Pagination on Custom Tax Pages Removes Spaces from Query Vars
- Taxonomy Rewrite Rules Redirecting Instead of Masking
- Custom taxonomy not appearing in menu administration panel
- Does using custom taxonomy is more CPU efficient than using meta_data?
- how can i display taxonomy instead of category on my web page?
- Taxonomy Meta Box in User Profile?
- WP REST API – get custom taxonomies based on terms & filter
- How can I make front page to display custom taxonomy page?
- Using WP_Query and Query_post for the loop?
- Multiple Custom Taxonomy Dropdowns Lists
- How to show post list based on taxonomy term?
- Display empty custom taxonomies differently than with one with posts
- Double slash in the_terms URL
- Using custom taxonomy when registering a new custom post type
- How to call a custom taxonomy term name inside a function?
- Get custom taxonomy name (not the term) in custom post
- How to add custom content to custom taxonomy
- remove term from custom taxonomy list
- Display taxonomy with a maximum number of letters
- query to use to link to taxonomy single page
- Fix Custom Taxonomy Display two times on each call
- Update Custom Taxonomy Value for a post based on custom date field
- Display Child Categories of Current Post ID
- Taxonomies specific to Page attribute template
- Saving custom taxonomies to post as checkbox on frontend
- How can I show links for custom posts group by taxonomy current term and sub-term?
- Show custom taxaomy as a product meta
- Taxonomy page loading wrong data
- Echo ACF taxonomy field within a foreach for another taxonomy
- Keeping session instance of random display results over pagination breaks
- Rewrite Search URL Permalink For CPT Custom Taxonomies
- Updating a custom post type’s custom taxonomy in a custom editor block
- Infinite Scroll appending Next Product Category Term pages
- Listing Cities A custom taxonmy by selection order
- Template taxonomy-{taxonomy}.php doesn’t show my posts
- Count tags for current post and save into custom meta field (and update it on post edit)
- Limit Tag Links in Post Content
- Passing taxonomy id of taxonomy clicked on one page to another page
- Custom Taxonomy Not Being Recognized by is_tax()
- Custom taxonomy – no posts found
- How to truncate the description in the admin panel for a custom taxonomy
- Custom button on custom taxonomy listing page
- Custom Taxonomy Archives Page Errors
- customize taxonomy Page
- Why is it defaulting to “uncategorized” even after I select a custom taxonomy
- Remove taxonomy menu without removing the metabox?
- Custom taxonomy list in Worpdress
- Get one custom taxonomy category
- How can I show custom field according to taxonomy?
- Creating a page for custom taxonomy archive
- WordPress Taxonomy Menu
- Insert code on specific taxonomy archives
- get_term_children specific no id
- custom texonomy category child category list with parent head
- Add Gutenberg editor to edit taxonomy (category) page
- post_type_link not working for posts without terms
- Why my archive title isn’t showing?