Not working for custom post type.
-
I have create a custom post type
function create_posttype(){
register_post_type( ‘portfolio’,
// WordPress CPT Options Start
array(
‘labels’ => array(
‘name’ => __( ‘Portfolio’ ),
‘singular_name’ => __( ‘Portfolio’ )
),
‘has_archive’ => true,
‘public’ => true,
‘rewrite’ => array(‘slug’ => ‘portfolio’),
‘show_in_rest’ => true,
‘supports’ => array(‘title’,’editor’,’revisions’,’custom-fields’)
)
);
}
add_action( ‘init’, ‘create_posttype’ );but Oasis Workflow options are not working their. Here is the issue which I am getting. https://prntscr.com/oftead
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Not working for custom post type.’ is closed to new replies.