Not quite following here. Are you talking about adding extra fields to the CPTUI’s settings page where you provide the values to be used when we register the post type for you?
I know we have various do_action calls in the management of that page and they’re in this file https://github.com/WebDevStudios/custom-post-type-ui/blob/1.10.0/inc/post-types.php
Should have mostly the same for the taxonomies page too, in case you needed to do something there as well.
Yes I’m talking about adding extra fields to the CPTUI settings page that would be saved and used for registering custom post.
I’ve managed to achieve this by using the cptui_post_type_after_fieldsets action to add UI fields with namearray cpt_labels. That way fields values are saved with the rest of CPTUI data and even passed to the register_post_type function.
Thanks for your plugin.
Just a hunch here, but I’m also guessing you’re use this hook https://github.com/WebDevStudios/custom-post-type-ui/blob/1.10.0/custom-post-type-ui.php#L524-L534 to do some extra work with those saved values in some way?
We use the “…after_fieldsets” as part of our premium CPTUI-Extended addon to add some extra information as well, so you doing so as well is very much in line for how we set things up. I’m mostly just happy to hear people are using these on their own in some context. 😀