Button to run custom PHP class for an API
-
I have a local install of WP and never used it before so I am having a bit of a problem trying to do what I want to do. If anyone can offer some suggestions on what I should look into that would be great.
What I want to do.
Setup a web page that has a few text input boxes and a button. Do I need a plugin to add these?
Button runs some code and uses input from text boxes and an API. Is there somewhere within the wp-admin I can do this or would it also be part of a plugin?The code needs to do the following.
Send and get information using an API on remote server.
Run some if statements to decide what API call to do and what message/page to send back to user.I have found a PHP API class someone has made to help interact with the API easier. Not sure if it is usable with a WP site. https://github.com/Art-of-WiFi/UniFi-API-client
The topic ‘Button to run custom PHP class for an API’ is closed to new replies.