-
Can you please help me and tell me how to hide the shortcode button from essential grid in the editor.
I hide the other shortcode buttons like this:
<?php
add_action( ‘after_setup_theme’, ‘highend_child_remove_shortcode_gen’, 99 );
function highend_child_remove_shortcode_gen() {remove_action( ‘init’, ‘hbthemes_shortcode_buttons’ );
if ( class_exists( ‘RevSliderTinyBox’ ) ) {
remove_action( ‘admin_head’, array( ‘RevSliderTinyBox’, ‘add_tinymce_editor’ ) );
}
}if ( isset( $insert_pages_plugin ) ) {
remove_filter( ‘mce_external_plugins’, array( $insert_pages_plugin, ‘insert_pages_handle_filter_mce_external_plugins’ ) );
remove_filter( ‘mce_buttons’, array( $insert_pages_plugin, ‘insert_pages_handle_filter_mce_buttons’ ) );
}
?>/* add_action(‘admin_enqueue_scripts’, ‘rs_remove_sc_button’, 99);
function rs_remove_sc_button(){
remove_filter(‘mce_external_plugins’, array(‘RevSliderShortcodeWizard’, ‘add_tinymce_shortcode_editor_plugin’));
remove_filter(‘mce_buttons’, array(‘RevSliderShortcodeWizard’, ‘add_tinymce_shortcode_editor_button’));
} */Greetings Melanie
-
HB-Themes support team typically replies to all topics within 48 hours except on weekends and public holidays. You must register to post topics.
Forum Categories
- Highend WP Theme 25,512
- Aegaeus WP Theme 1,617
- Requests and Feedback 133