Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Dave from Gravity Wiz

    (@spivurno)

    Hi SilverKenn, the upcoming 3.1 version adds the “gfcpt_post_type_args” filter which will allow you to override the arguments used to fetch the post types which are populated into the setting. To show both public and non-public post types, you would use the following code:

    add_action( 'gfcpt_post_type_args', function( $args ) {
    	unset( $args['public'] );
    	return $args;
    } );
    Thread Starter SilverKenn

    (@kosher_12)

    Thanks for the update though I end-up creating custom functionality and hooking it directly on gform_after_submission.

    This might come handy in the future when I encounter similar project.

    Have a great day

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘It doesn't support non public post type?’ is closed to new replies.