Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Profiles.php / Example.php / etc. (Post Types) - Add a 'loader' function somewhere #9

Open
cleverington opened this issue Jun 4, 2022 · 0 comments

Comments

@cleverington
Copy link
Owner

Now that we've gotten further on, I kinda-sorta-hate-this.

Its not wrong and its not bad, but its not efficient.

There's a lot of default content and fields for settings within these post type declarations that are unneeded.

Better to instead have users only declare the parts that need to be custom instead of everything.

Then, when the require settings change, because they WILL (e.g.: show_in_rest anyone?), only one function needs updating instead of every function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant