Learn in this tutorial how to remove WordPress editor in Easy Digital Downloads (EDD) posts using code.
But there are other cases, especially when you use custom fields (native or with ACF), where you don’t need the editor. In these cases it may be a good idea to remove it, especially if it will be used by the end customer.
You know that the ideal is to leave the customers the right and necessary elements so that they can manage their content easily.
So, if they should not enter anything in the editor, it is better that they do not even see it. 😉
Do you want to remove the WordPress editor from EDD downloads?
You only need a few lines of code:
Snippet to remove the WordPress editor in Easy Digital Downloads.
Add the following code at the end of functions.php or in your functionality plugin:
In this case, you use the filter
remove_post_type_support to remove WordPress editor support on the CTP created by Easy Digital Downloads.
Do you want to remove the WordPress editor in Easy Digital Downloads for simplicity? Now you know how to achieve this in a simple way using code.
If you have any question, please leave it in the comments. And if you want to give me a suggestion for future snippets, please send it through the contact form.
Benefits of being a subscriber. 🙂