$domain
$domain : string
MainWP installation domain name.
Class MainWP_Api_Manager
license_key_activation(array $api, string $api_key, string $api_email) : array
Check API Key & API Email again MainWP Servers.
array | $api | Extension activation info. |
string | $api_key | API license key. |
string | $api_email | API email address. |
Activation info.
purchase_software(string $username, string $password, string $productId) : mixed
Check if the user purchased the software.
string | $username | MainWP registered username. |
string | $password | MainWP registered password. |
string | $productId | extension (product) ID. |
purchase_software() purchase extensions.
get_purchased_software(string $username, string $password, string $productId = '', boolean $no_register = false) : array
Get users purchased extensions.
string | $username | MainWP registered username. |
string | $password | MainWP registered password. |
string | $productId | extension (product) ID. |
boolean | $no_register | registration request. |
Purchased extensions.
grab_license_key(array $api, string $username, string $password) : mixed
Grab users associate MainWP License key for the selected Extension.
array | $api | Extension activation info. |
string | $username | MainWP registered username. |
string | $password | MainWP registered password. |
Activation info.
check_response_for_intall_errors(array $response, string $software_title = '') : string
Check if $response contains any install errors.
array | $response | Response array. |
string | $software_title | Extension title. |
$return Installation Error messages.