Last active
August 18, 2020 15:48
-
-
Save Shelob9/7dd652bfdda104926ceccde4556af0b7 to your computer and use it in GitHub Desktop.
Unregister Caldera Forms shortcode button. See: https://calderaforms.com/doc/remove-caldera-forms-shortcode-button-post-editor/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action( 'admin_enqueue_scripts', function() { | |
wp_deregister_script('caldera-forms-shortcode-insert'); | |
}, 15 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
WHERE do these snippets of code, or these php files go? A particular directory a particular file? Thanks.