GF_OSDXP
Adds integration with osDXP.
Since: 2.4.15
Source: includes/class-gf-osdxp.php:8
Details
- Kind:
class - Namespace:
(global)
Methods
| Method | Description |
|---|---|
get_instance() | Get a class instance. |
license_key() | Handles the license key display. |
process_license_key_submit() | Process license key submit. |
process_license_key_deletion() | Process the license key deletion. |
settings_page() | Registers plugin pages with osDXP. |
settings_page_highlight() | Highlights appropriate menu item for misc pages. |
nav_tabs() | Outputs Nav Tabs for settings&misc pages. |
Method Reference
get_instance()
public static function get_instance()
Get a class instance.
Returns
- GF_OSDXP — instance of GF_OSDXP.
Since: 2.4.15
Source: includes/class-gf-osdxp.php:51
license_key()
public static function license_key( $license_key )
Handles the license key display.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$license_key |
Returns
string|null— Return a string or null to display the text box.
Since: 2.4.15
Source: includes/class-gf-osdxp.php:68
process_license_key_submit()
public static function process_license_key_submit( $response, $plugin_slug, $license_key )
Process license key submit.
Callback for the 'osdxp_dashboard_license_submit_response' filter.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$response | array | Response. | |
$plugin_slug | string | Plugin slug. | |
$license_key | string | License key. |
Returns
array— Response array.
Since: 2.4.15
Source: includes/class-gf-osdxp.php:96
process_license_key_deletion()
public static function process_license_key_deletion( $response, $plugin_slug )
Process the license key deletion.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$response | |||
$plugin_slug |
Returns
array
Since: 2.4.15
Source: includes/class-gf-osdxp.php:165
settings_page()
public function settings_page( $pages )
Registers plugin pages with osDXP.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$pages |
Returns
array
Since: 2.4.15
Source: includes/class-gf-osdxp.php:197
settings_page_highlight()
public function settings_page_highlight( $file )
Highlights appropriate menu item for misc pages.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$file |
Returns
$file
Since: 2.4.15
Source: includes/class-gf-osdxp.php:313
nav_tabs()
public function nav_tabs()
Outputs Nav Tabs for settings&misc pages.
Since: 2.4.15
Source: includes/class-gf-osdxp.php:329