Remove visual editor in edit area when the post is published in custom post type
-
I have a problem in my custom post type:
if($pagenow === ‘post-new.php’){
diplay visual editor // this is ok
} elseif ($pagenow === ‘post.php’){
Now I want remove visual editor in edit area when the post is published, not if is in draft or pendig status, how to make this?.
}
- The topic ‘Remove visual editor in edit area when the post is published in custom post type’ is closed to new replies.