-
Notifications
You must be signed in to change notification settings - Fork 6
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
Export to register_post_type and register_taxonomy #4
Comments
What modification was that exactly? Happy to bring your tweak over here. |
Thanks. I know I could go |
Where are you calling pods_debug() in that code? |
Oh nevermind, I see now it's via the pods_debug_register param flag |
Nowhere! 😄 |
I would rewrite it if you give me instructions that will end up in under 100 lines of code. |
To make things like pods-framework/pods-export-code#4 easier to accomplish.
I think what you came up with is clever, but this PR should make it easier to do what you want: In Pods 2.7, you can hook into the I'll add an option to export to |
I'll start the rewrite as it is released on WP.org. |
Thank you! |
Sometimes I use Pods to generate parameters (PHP code) for register_post_type() and register_taxonomy(). Then Pods will be disabled.
https://github.com/szepeviktor/wordpress-plugin-construction/blob/master/mu-pods-register-export/pods-register-export.php
Needs a one-line modification!
The text was updated successfully, but these errors were encountered: