Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › Product Vendors › remove tiny mce
- This topic has 3 replies, 3 voices, and was last updated 4 years, 10 months ago by WCFM Forum.
- AuthorPosts
- January 14, 2020 at 7:57 am #101975jorsenmejiaParticipant
how to remove tiny mce on product manager fields?
- January 14, 2020 at 8:04 am #101976jorsenmejiaParticipant
Take note for admin side*
- January 14, 2020 at 1:42 pm #101995SushobhanKeymaster
If you want to disable Tiny MCE editor completely in WCFM dashboard you can use the following snippet –
function disable_tiny_mce_editor($allow) { return ''; } add_filter('wcfm_is_allow_rich_editor', 'disable_tiny_mce_editor', 501);
Add this code to your child theme’s functions.php
In case you do not have child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/
By the way, what do you mean by “Take note for admin side*”? Does it mean, you want to only disable Tiny mce editor for vendors? If that is the case please use the following snippet.
function disable_tiny_mce_editor_for_vendors($allow) { if( wcfm_is_vendor() ) return ''; return $allow; } add_filter('wcfm_is_allow_rich_editor', 'disable_tiny_mce_editor_for_vendors', 501);
- February 7, 2020 at 11:34 am #106038WCFM ForumMember
Hi,
If you are using WCFM Ultimate then may manage this from WCFM Capability setting as well.
Please set OFF “Rich Editor” from WCFM Capability setting – https://ibb.co/9V7Sgnw
Thank You
- AuthorPosts
- You must be logged in to reply to this topic.