This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

TinyMCE editor ASP button

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #33476
    codigo3net85codigo3net85
    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%

    #33486
    Ernest MarcinkoErnest 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.

    #33492
    codigo3net85codigo3net85
    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 MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.