Skip to content

Instantly share code, notes, and snippets.



Last active Jun 8, 2016
What would you like to do?
Add the following to your themes functions.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