Hi I would like to trigger the generate php internally in code so I can get the code and automate this process, is there any functions or hooks out there to let me just generate the php and get it as a string in code?
It is unclear what php code you are trying to generate.