get_class_name()
get_class_name() : object
Method get_class_name()
Get Class Name.
Class MainWP_Premium_Update
maybe_request_premium_updates(mixed $website, mixed $what, mixed $params) : mixed
Method maybe_request_premium_updates()
mixed | $website | Child Site info. |
mixed | $what | stats|upgradeplugintheme What function to perform. |
mixed | $params | plugin|theme Update Type. |
$request_update
check_request_update_premium(array $list_items, string $type) : boolean
Method check_request_update_premium()
Check if any updates are on the premiums list.
array | $list_items | List of updates. |
string | $type | Type of update. plugin|theme. |
true|false.
request_premiums_update(mixed $website, mixed $type, mixed $list_items) : mixed
Method request_premiums_update()
Request to update plugin or theme.
mixed | $website | Child Site to update. |
mixed | $type | Type of update, plugin|theme. |
mixed | $list_items | list of plugins & themes installed. |
null|true.
try_to_detect_premiums_update(mixed $website, mixed $type) : mixed
Method try_to_detect_premiums_update()
Try to detect if pugin and themes are premium.
mixed | $website | Child Site. |
mixed | $type | Type of update, plugin|theme. |
false|self::redirect_request_site()