- May 28, 2021 at 1:05 am #33476
Hello! could you help me please to know how to remove from TinyMCE editor the ASP button?
Im attaching an image so i can be more clearer in my request.
here you have admin access if needed
Attachments:You must be logged in to view attached files.May 28, 2021 at 3:11 pm #33486
Sure! It is added via the wp-content/plugins/ajax-search-pro/backend/tinymce/buttons.php file. You will need to either edit that (remove the contents and leave only the first line), or perhaps try this custom code in the functions.php file in the theme directory:
remove_action('admin_head', 'wpdreams_asp_add_mce_button'); remove_action('admin_head', 'wpdreams_asp_mce_generate_variable');
..altough I am not sure if this code will work.Best,
If you like my products, don't forget to rate them on codecanyon :)
May 28, 2021 at 5:42 pm #33492
hello Ernest, thank you for your response. I tried your 2nd option adding the code in my functions.php child theme file.
But it didnt work. But dont worry, i have hidden the ASP button from tinymce with some css.
ThanksMay 29, 2021 at 9:47 am #33493
You must be logged in to reply to this topic.