Hi @ikihinojosa,
Thanks for reaching out to us.
This is possible by adding a custom code snippet to your site. By default, the WordPress editor is only shown in the backend. Are you using any page builder plugin? or using any plugin to show the editor on the front-end?
If yes, please let us know the plugin details so that we can provide the right code snippet after proper testing to remove the button from the editor.
Regards,
Vidya K V
`Hi… Thanks for the answer
Yes my page will be about online courses, and in it there is a classifieds secction to sell, exchange or donate school products, also there is a frontend submision form for woocommere products
All those parts show the editor to the users as they can type and write what they need
Page was built on Elementor, (but many of the pages are made directly in to word press system, but using the classic editor)
For the classifieds I used a plugin called Listdom, for the online courses I used Learnpress with an frontend add on editor they have, for the Woocommerce submission I used a plugin called “User Frontend plugin”
Thanks in advance
Hi @ikihinojosa,
Please use the below code snippet for the above requirement.
function awsm_ead_remove_add_button() {
if ( class_exists( 'Awsm_embed' ) ) {
global $pagenow;
if ( ! is_admin() || ! in_array( $pagenow, array( 'post.php', 'post-new.php' ) ) ) {
remove_action( 'media_buttons', array( Awsm_embed::get_instance(), 'embedbutton' ), 1000 );
}
}
}
add_action( 'wp_loaded', 'awsm_ead_remove_add_button' );
External Resources
https://wp-content.co/add-custom-code-to-your-wordpress-websites/
Regards,
Vidya K V
Thank you so much vidyakv
is working fine!
Cheers…
Hi,
Awesome! Happy we could help you out. Between if you have a moment, I would very much appreciate it if you could quickly rate the plugin on WordPress, just to help us spread the word.
Regards,
Vidya K V