Class Gravity_Api
Client-side API wrapper for interacting with the Gravity APIs.
public static
|
|
public
boolean
|
#
register_current_site( string $license_key, boolean $is_md5 = false )
Retrieves site key and site secret key from remote API and stores them as WP options. Returns false if license key is invalid; otherwise, returns true. |
public
boolean
|
#
update_current_site( string $new_license_key_md5 )
Updates license key for a site that has already been registered. |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|