Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › remove the ASP button in the editor › Reply To: remove the ASP button in the editor
March 21, 2024 at 9:48 am
#47505
Participant
Hello,
since it doesn’t work with the removes… is it possible to program an option in the settings where the admin only wants to have a file placed above the button in the editor or not?
This could then be queried in the following query.
wp-content/plugins/ajax-search-pro/includes/classes/Core/ Manager.php
// Special case
if ( wpdreams_on_backend_post_editor() ) {
require_once(ASP_PATH . “/backend/tinymce/buttons.php”);
require_once(ASP_PATH . “/backend/metaboxes/default.php”);
}
Thanks
Gösta