Class WPGlobus_Plugin_Install
Class WPGlobus_Plugin_Install
Methods summary
public static
|
|
protected static
|
|
public static
integer
|
|
public static
stdClass|WP_Error
|
#
filter__plugins_api_result( stdClass|WP_Error $res, string $action, stdClass $args )
Filter api results |
protected static
array[]
|
#
_get_all_product_info_from_server( )
Call the WPGlobus server to get information about all premium plugins. |
protected static
stdClass
|
|
public static
|
Constants summary
string |
FAKE_VERSION
Fake version for paid plugins to prevent the "Update Now" button from appearing. |
#
'999'
|
integer |
FAKE_ACTIVE_INSTALLS
Fake active installs for paid plugins. |
#
0
|
Properties summary
protected static
string
|
$fake_compatible_with
Fake "Compatible with your version of WordPress" for paid plugins. |
#
''
|
protected static
array
|
$plugin_card
Array of plugin cards. |
#
array()
|
protected static
array
|
$paid_plugins
Array of paid plugins data. |
#
array()
|
protected static
array
|
$free_plugins
Array of free plugins data. |
#
array()
|