Sourcing External PHP Class
I’m trying to understand how I would go about adding in an externally developed PHP class into my wordpress site. What I would like to do is add this GitHub repository src files:
https://github.com/izniburak/aa-api
and run it within my wordpress page using PHP Code Snippet from xyzscripts (for example). I’m still not certain that this is the correct way.
Thanks again for your help (note need to also mask the api key which gets used to perform the relevant APi call to the back-end service provider).
Regards,
Eddie
Leave an answer