Methods summary
protected
array
|
|
public
|
#
__construct( array $options = array() )
VSP_Addons constructor.
Parameters
|
public
|
|
public
|
|
public
array|false
|
#
active_addons( )
Returns All Active Addons For current plugin
Returns All Active Addons For current plugin
Returns
array|false
|
public
boolean
|
#
handle_ajax_params( string $request, string $msg )
Handles Ajax Request Params For Addons
Handles Ajax Request Params For Addons
Parameters
Returns
boolean
|
public
array
|
#
update_active_addons( array $addons )
Updates Active Addons in db
Updates Active Addons in db
Parameters
Returns
array
|
public
boolean
|
#
activate_addon( string $addon_uid = '' )
Activates Selected Addon.
Activates Selected Addon.
Parameters
- $addon_uid
- Addons MD5 Unique ID
Returns
boolean
|
public
boolean
|
#
deactivate_addon( string $addon_uid = '' )
Deactivates Selected Addon
Deactivates Selected Addon
Parameters
- $addon_uid
- Addons MD5 Unique ID
Returns
boolean
|
public
boolean|mixed
|
#
is_active( string $addon_uid = '' )
Checks if given addon is active
Checks if given addon is active
Parameters
- $addon_uid
- Addons MD5 Unique ID
Returns
boolean|mixed
|