$instance
$instance : mixed
Private static variable to hold the single instance of the class.
Class MainWP_Actions_Handler
instance() : \MainWP\Dashboard\MainWP_Actions_Handler
Method instance()
Create a public static instance.
do_action_mainwp_post_action(object $website, string $pAction, array $information, integer|false $postId, string $type = '')
Action mainwp_post_action.
object | $website | website data. |
string | $pAction | post action. |
array | $information | post action information. |
integer|false | $postId | post id. |
string | $type | post|page. |
do_action_mainwp_install_actions(array $websites, string $pAction, mixed $output, string $type, mixed $post_data = array(), boolean $upload = false)
Action mainwp_install_actions.
array | $websites | websites. |
string | $pAction | install action. |
mixed | $output | result. |
string | $type | action type. |
mixed | $post_data | post data (option). |
boolean | $upload | true|false: install by upload (option). |
hook_mainwp_fetch_url_authed(object $website, array $information, string $action, array $params, array $others)
Handle @action mainwp_fetch_url_authed.
object | $website | website. |
array | $information | information result data. |
string | $action | action. |
array | $params | params input array. |
array | $others | others input array. |