Ive created a custom post type and I want to hide the main textarea content in the publish/edit page.
Is it possible ?
Thanks!
|
Ive created a custom post type and I want to hide the main textarea content in the publish/edit page. Is it possible ? Thanks! |
|||
|
|
|
Yes, remove the editor support from your custom post type. You can do it in two ways.
Example:
2.Using the remove_post_type support if the custom post type is not defined by your code (i.e some other plugin/theme has defined custom post type). Example:
|
|||
|
|
When registering your custom post type don't specify support for editor.
More information See: Function Reference/register post type. |
|||
|
|