I am making a plugin that needs a page that can be accessed from the outside, pretty much like an API, and have the url like so,
http://xxxxx/custom_method?parameter=xxxxx&something=xxxx
is there a clean way to do this?
Thanks in advance.
|
I am making a plugin that needs a page that can be accessed from the outside, pretty much like an API, and have the url like so, http://xxxxx/custom_method?parameter=xxxxx&something=xxxx is there a clean way to do this? Thanks in advance. |
|||
|
|
|
The WordPress Way of doing it is using
then you can check in your plugin for the vars:
|
|||||||||||||||
|