When using a form to create or edit posts, you may find not all post types appear in the Post type field.
If this is the case, the post type likely has the `show_ui` argument defined as FALSE. e.g;
add_action( 'init', function () { register_post_type( 'my_post_type', [ 'public' => false, 'show_ui' => false, // Setting this to TRUE will ensure the post type appears. If not defined, the `public` value will be used as the default. … ] ); } );
Setting `show_ui` as TRUE will make the post type available for editing to Advanced Forms Pro. Note that if `show_ui` is not defined on the post type registration, the property defaults to the value assigned to the `public` argument.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article