Support » Plugin: Oasis Workflow » Not working for custom post type.

  • I have create a custom post type
    function create_posttype(){
    register_post_type( ‘portfolio’,
    // WordPress CPT Options Start
    ‘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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author nuggetsol


    Hi @gundeepimpinge,

    Make sure you select this newly created custom post type under Workflows -> Settings, Workflow tab – Post Types that can participate in the workflow.

    Also, if you have selected specific post types on the workflow, make sure to include this one too.



    Thanks for the reply and yes it’s working for me.
    Also, Need to know how can I submit a custom post type’s post programmatically for workflow review? I am generating post dynamically want that post goes to the workflow. Is there hook for sending a particular post to workflow?

    Plugin Author nuggetsol


    There isn’t a hook per se, but you can invoke a function to submit. Do open a ticket via and we can provide you some directions on what can be done.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.