Hide Caldera Form Button in WP Editor?
-
I have a large site with many editors, and I want to hide the “Caldera Form” button in the toolbar of the Edit Page/Post view. I have another nifty plugin that allows me to hide the Caldera Forms capability in the Dashboard Menu from Editors, but it doesn’t seem to touch the editor toolbar. Editors have access to insert any existing form in any page they want. (Not a bad feature, but not in my case.)
Any suggestions on how to remove, or simply hide that Caldera Form button in the Edit Page view?
I tried using custom styles but none of the following combinations worked:
#caldera-forms-form-insert {display: none !important;}
#caldera-forms-form-insert img {display: none !important;}
.caldera-forms-insert-button {display: none !important;}
a.caldera-forms-insert-button {display: none !important;}
button.caldera-forms-insert-button {display: none !important;}
a #caldera-forms-form-insert .button {display: none !important;}
a #caldera-forms-form-insert .button .caldera-forms-insert-button {display: none !important;}What are my options? Any other ideas?
I know how and where to comment out the “Insert shortcode media button” in the plugin code (classes/admin.php), but I don’t like to do things that way.
- The topic ‘Hide Caldera Form Button in WP Editor?’ is closed to new replies.