Created
May 5, 2020 17:57
-
-
Save kimcoleman/b52dc4d1ae88d5f213d111e5d44cd4fa to your computer and use it in GitHub Desktop.
Get array of settings needed to make API calls.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Get array of settings needed to make API calls. | |
* | |
* Update the remotesite, APIUSER, and APIPASS settings | |
* as required for the remote site you will be testing against. | |
*/ | |
function pmprorad_get_options() { | |
return array( | |
'localsite' => site_url(), | |
'remotesite' => 'https://www.yourdomain.com', | |
'APIUSER' => 'yourusername', | |
'APIPASS' => 'gEkU PlKj bnkC 3rdM aPn2 7NT9', | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment