TinyMCE editor ASP button

This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 3 years, 2 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #33476
    codigo3net85
    codigo3net85
    Participant

    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 needed

    https://www.voydecompras.mx/soyadministrador
    temporal
    T3mP0r4LSupP0rT%

    Attachments:
    You must be logged in to view attached files.
    #33486
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    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 :)


    #33492
    codigo3net85
    codigo3net85
    Participant

    hello 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

    #33493
    Ernest Marcinko
    Ernest Marcinko
    Keymaster
    You cannot access this content. Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.