Use Advanced Post Creation Add-On to create custom post type "shop_order"

Hi! I cannot select “shop_order” as a post-type in the “Advanced Post Creation Add-On”. How can i activate this?

Out of the box the add-on will only list post types which have been registered with WordPress as public.

You can use the gform_advancedpostcreation_args_pre_get_custom_post_types filter in the theme functions.php file or a custom functions plugin to change the arguments that are passed to WordPress when requesting the available post types.

See the following page of the documentation for an example: gform_advancedpostcreation_args_pre_get_custom_post_types - Gravity Forms

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.