Last active
June 8, 2016 04:12
-
-
Save danieliser/ef4d341fd154ce78f1ac69c71860ffc1 to your computer and use it in GitHub Desktop.
Add the following to your themes functions.php.
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 | |
// Copy everything below the line to your themes functions.php file. | |
// ------------------------------------------------------ | |
add_action( 'after_setup_theme', 'remove_pum_shortcode_ui' ); | |
function remove_pum_shortcode_ui() { | |
if ( class_exists( 'PUM_Admin_Shortcode_UI' ) ) { | |
remove_action( 'admin_init', array( PUM_Admin_Shortcode_UI::instance(), 'init_editor' ), 20 ); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment