-
Hello,
a time a ago you helped me to hide the shortcode button in the editor,
but after the update it is shown up again:This was the code you gave to me:
<?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’ ) );
}
?>And this was the old topic:
https://hb-themes.com/forum/all/topic/hide-highend-shortcode-generator-button-in-editor/Now the button is visible for the customer after the update, I need to fix it fast, can you tell me how to, please?
Thank you so much.
-
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,516
- Aegaeus WP Theme 1,617
- Requests and Feedback 133