I would like to hide the “rtMedia pro short code” button in the frontend editor of BP Docs. Please let me know how …
Please check this document -> https://rtcamp.com/rtmedia/docs/admin/posteditor-shortcode-button/remove-post-editor-shortcode-button/ to remove shortcode buttons in frontend editor.
First of all there is a typo in your code…
add_filter( ‘mce_buttons’, ‘rtmedia_pro_cancel_short_code_buttons’ ), 10, 1 );
add_filter( ‘mce_buttons’, ‘rtmedia_pro_cancel_short_code_buttons’, 10, 1 );
…and it’s not hiding the rtMedia pro short code button in the BP Docs frontend editor!
Ok, it was a minor mistake in that doc. We had updated that page and had also change priority of the hook. Check that code now.
Working perfect. Thanks for your support!
I am glad that your issue is resolved