Sourcing External PHP Class

Question

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

0
, eddie 3 years 2020-08-20T00:10:28-05:00 0 Answers 47 views 0

Leave an answer

Browse
Browse