Property | Type | Description | |
---|---|---|---|
$addons | array | List of registered addons | |
$admin_notices | Admin Notices object | ||
$custom_fields | WPAS_Custom_Fields | Holds the WPAS_Custom_Fields instance | |
$php_version_required | string | Follow WordPress latest requirements and require PHP version 5.2 at least. | |
$products_sync | null | WPAS_Product_Sync | Only used if there is a compatible e-commerce plugin active | |
$session | WPAS_Session | Session object | |
$wordpress_version_required | string | Minimum version of WordPress required ot run the plugin |
Property | Type | Description | |
---|---|---|---|
$error | null | WP_Error | Possible error message. |
Method | Description | |
---|---|---|
__clone ( ) : void | Throw error on object clone | |
__wakeup ( ) : void | Disable unserializing of the class | |
display_error ( ) : void | Display error. | |
instance ( ) : object | Instantiate and return the unique Awesome Support object | |
load_plugin_textdomain ( ) : boolean | Load the plugin text domain for translation. | |
load_theme_functions ( ) : void | Load Awesome Support's theme functions if any | |
redirect_to_about ( ) : void | Redirect to about page. | |
remote_notifications ( ) : void | Check for remote notifications. |
Method | Description | |
---|---|---|
add_error ( string $message ) : void | Add error. | |
dependencies_loaded ( ) : boolean | Check if plugin dependencies are present. | |
includes ( ) : void | Include all files used sitewide | |
includes_admin ( ) : void | Include all files used in admin only | |
init ( ) : void | Instantiate the plugin | |
is_php_version_enough ( ) : boolean | Check if the version of PHP is compatible with this addon. | |
is_version_compatible ( ) : boolean | Check if the core version is compatible with this addon. | |
maybe_setup ( ) | Plugin setup. | |
setup_constants ( ) : void | Setup all plugin constants |
public display_error ( ) : void | ||
return | void |
public load_plugin_textdomain ( ) : boolean | ||
return | boolean | True if the language file was loaded, false otherwise |
public load_theme_functions ( ) : void | ||
return | void |
public redirect_to_about ( ) : void | ||
return | void |
public remote_notifications ( ) : void | ||
return | void |
public WPAS_Custom_Fields $custom_fields | ||
return | WPAS_Custom_Fields |
protected null|WP_Error $error | ||
return | null | WP_Error |
public string $php_version_required | ||
return | string |
public null|WPAS_Product_Sync $products_sync | ||
return | null | WPAS_Product_Sync |
public string $wordpress_version_required | ||
return | string |