Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › TinyMCE editor ASP button
This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko 1 year, 10 months ago.
- AuthorPosts
- 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.Thank you!
ps.
here you have admin access if neededhttps://www.voydecompras.mx/soyadministrador
temporal
T3mP0r4LSupP0rT%Attachments:
You must be logged in to view attached files.May 28, 2021 at 3:11 pm #33486Hi,
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,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
May 28, 2021 at 5:42 pm #33492hello Ernest, thank you for your response. I tried your 2nd option adding the code in my functions.php child theme file.
remove_action(‘admin_head’, ‘wpdreams_asp_add_mce_button’);
remove_action(‘admin_head’, ‘wpdreams_asp_mce_generate_variable’);
But it didnt work. But dont worry, i have hidden the ASP button from tinymce with some css.Thanks
May 29, 2021 at 9:47 am #33493You cannot access this content. Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.