Use the below example code in your functions.php file to remove WYSIWYG for a certain Custom Post Type in your WordPress.
1 2 3 4 5 6 | add_action('init', 'init_remove_support',100); function init_remove_support(){ $post_type = 'your post type'; remove_post_type_support( $post_type, 'editor'); } |
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.