Edit custom post type