Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Get array of settings needed to make API calls.
<?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
You can’t perform that action at this time.