WordPress.org

Ready to get started?Download WordPress

Forums

Remove visual editor in edit area when the post is published in custom post type (1 post)

  1. colixio
    Member
    Posted 3 years ago #

    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?.

    }

Topic Closed

This topic has been closed to new replies.

About this Topic