WebDevStudios / custom-post-type-ui

Admin UI settings for creating custom post types and taxonomies in WordPress
https://webdevstudios.com
GNU General Public License v2.0
620 stars 144 forks source link

Feature request: filter hidden post types #970

Open jdevalk opened 1 month ago

jdevalk commented 1 month ago

I'd love a way to see the already registered hidden post types, and potentially filter them with the plugin to make them visible.

tw2113 commented 1 month ago

Hi Joost,

I'm sort of understanding the request, but not quite.

Are you wanting to see the _builtin content types exposed? or perhaps any that are not from WP core, but are registered as not public?

Also are you just wanting to see the arguments/values used for them? or are you also hoping to be able to edit them as well?

I believe a LONG time ago, probably 2013 era or so, we kind of listed content types not handled by CPTUI, but we moved to just be self contained for items registered by ourselves since then.

Would love any feedback and/or clarification on what you're thinking of.

jdevalk commented 1 month ago

I’d love to see all the post types that haven’t been registered by your plugin but do exist, both built in and not.

I’d much prefer to edit them too, I can understand that’s a bit harder.

I currently can’t find a plugin that allows for this, to my surprise.

tw2113 commented 1 month ago

We're definitely willing to consider doing something like this. For example, we could add it as extra output to the "Registered Types/Taxes" screen found at /wp-admin/admin.php?page=cptui_listings.

However, we're most likely going to stop at just displaying the information, and not diving into the topic of facilitating edit ability. That's going to be too much of a messy debacle to try and add in support for.

Is this a high priority request that you have? or is it just a "nice to have" ?

jdevalk commented 1 month ago

I can see why that'd be hard but it'd also make my life a lot easier if you did make it editable :P