$instance
$instance : mixed
Private static variable to hold the single instance of the class.
Class MainWP_System_Handler
instance() : \MainWP\Dashboard\MainWP_System
Method instance()
Create public static instance.
filter_fetch_urls_authed(mixed $pluginFile, string $key, object $dbwebsites, string $what, array $params, mixed $handle, mixed $output) : mixed
Method filter_fetch_urls_authed()
Filter fetch authorized urls.
mixed | $pluginFile | MainWP extention. |
string | $key | MainWP Licence Key. |
object | $dbwebsites | Child Sites. |
string | $what | Function to perform. |
array | $params | Function paramerters. |
mixed | $handle | Function handle. |
mixed | $output | Function output. |
MainWP_Extensions_Handler::hook_fetch_urls_authed() Hook fetch authorized URLs.
filter_fetch_url_authed(mixed $pluginFile, string $key, integer $websiteId, string $what, array $params, null $raw_response = null) : mixed
Method filter_fetch_url_authed()
Filter fetch Authorized URL.
mixed | $pluginFile | MainWP extention. |
string | $key | MainWP licence key. |
integer | $websiteId | Website ID. |
string | $what | Function to perform. |
array | $params | Function paramerters. |
null | $raw_response | Raw response. |
MainWP_Extensions_Handler::hook_fetch_url_authed() Hook fetch authorized URL.
hook_fetch_url_verify_action(mixed $pluginFile, string $childKey, integer $websiteId, array $params) : mixed
Method hook_fetch_url_verify_action()
Filter fetch Authorized URL.
mixed | $pluginFile | MainWP extention. |
string | $childKey | Extension child key. |
integer | $websiteId | Website ID. |
array | $params | Function paramerters. |
MainWP_Extensions_Handler::hook_fetch_url_authed() Hook fetch authorized URL.
hook_get_sql_websites_for_current_user(mixed $input_value, string $pluginFile, string $key, mixed $params) : string
Method hook_get_sql_websites_for_current_user()
Get sql websites for current user.
mixed | $input_value | First input filter value. |
string | $pluginFile | Extension plugin file to verify. |
string | $key | The child-key. |
mixed | $params | Input params data. |
sql.
plugins_api_extension_info(mixed $input_value, mixed $action, mixed $arg) : mixed
Method plugins_api_extension_info()
Get MainWP Extension api information.
mixed | $input_value | Return value. |
mixed | $action | Action being performed. |
mixed | $arg | Action arguments. Should be the plugin slug. |
$info|$input_value
plugins_api_wp_plugins_api_result(mixed $res, mixed $action, mixed $arg) : mixed
Method plugins_api_wp_plugins_api_result()
Hook after get plugins api information.
mixed | $res | api information value. |
mixed | $action | Action being performed. |
mixed | $arg | Action arguments. Should be the plugin slug. |
$res