Hi @thevikas
Why did you export to PHP in the first place?
If you are not familiar with PHP I would advice you to keep using Pods instead of PHP to create your custom post types etc.
Cheers, Jory
I needed to do deployment on my staging server. And the project is on-going so pods/fields will keep changing for some time. I do not want to manually create the pods on that server. I just need a simple way, which also gets tracked by git.
So exporting to php seemed a good idea that I add in the git repo.
I am a php dev.
I assume you’ve used this plugin: https://github.com/pods-framework/pods-export-code
Keep in mind that this hasn’t been maintained for over 7 years. I’m quite sure it won’t work anymore.
But, if it does, you can create your own plugin from the exported code or include it in your theme.
Again, this is old legacy code and most likely isn’t supported by the current version of Pods.
Cheers, Jory
Hi,
Same question here.
Pods-export-code doesn’t work.
How can I export Pods to create my own plugin?
Thank you,