How to restrict users and admin from creating new taxonomy terms?
This check: <?php if ( current_user_can( $taxonomy->cap->edit_terms ) ) : ?> needs to be satisfied to display the “Add New Category” link. You can set the capabilities for your schedule_day_taxonomy taxonomy, when you register it. Example Only users with the edit_schedule_day_taxonomy capability can edit the taxonomy: add_action( ‘init’, ‘schedule_day_tax_func’ ); function schedule_day_tax_func() { register_taxonomy( ‘schedule_day_taxonomy’, … Read more