\MainWP\DashboardMainWP_Post_Plugin_Theme_Handler

Class MainWP_Post_Plugin_Theme_Handler

Summary

Methods
Properties
Constants
init()
secure_request()
check_security()
add_action()
add_action_nonce()
create_security_nonces()
instance()
mainwp_themes_search()
mainwp_theme_activate()
mainwp_theme_delete()
mainwp_theme_ignore_updates()
mainwp_themes_search_all()
mainwp_trusted_theme_notes_save()
mainwp_plugins_search()
mainwp_plugins_search_all_active()
mainwp_plugin_activate()
mainwp_plugin_deactivate()
mainwp_plugin_delete()
mainwp_plugin_ignore_updates()
mainwp_trusted_plugin_notes_save()
mainwp_widget_plugin_activate()
mainwp_widget_plugin_deactivate()
mainwp_widget_plugin_delete()
mainwp_widget_theme_activate()
mainwp_widget_theme_delete()
mainwp_preparebulkinstallplugintheme()
mainwp_installbulkinstallplugintheme()
mainwp_preparebulkuploadplugintheme()
mainwp_installbulkuploadplugintheme()
mainwp_cleanbulkuploadplugintheme()
mainwp_ext_prepareinstallplugintheme()
mainwp_ext_performinstallplugintheme()
hook_prepare_installcheck_plugin()
mainwp_upgradewp()
mainwp_upgrade_plugintheme()
mainwp_ignoreplugintheme()
mainwp_unignoreabandonedplugintheme()
mainwp_unignoreabandonedpluginsthemes()
mainwp_dismissoutdateplugintheme()
mainwp_dismissoutdatepluginsthemes()
mainwp_unignoreplugintheme()
mainwp_ignorepluginsthemes()
mainwp_unignorepluginsthemes()
mainwp_trust_plugin()
mainwp_trust_theme()
No public properties found
No constants found
No protected methods found
$security_nonces
$security_names
N/A
No private methods found
$instance
N/A

Properties

$security_nonces

$security_nonces : string

Protected static variable to hold security nounces.

Type

string — Security nonce.

$security_names

$security_names : string

Protected static variable to hold security nounces.

Type

string — Security nonce.

$instance

$instance : mixed

Protected static variable to hold the single instance of the class.

Type

mixed — Default null

Methods

init()

init() : void

Init plugins/themes actions

Force Extending class to define this method.

secure_request()

secure_request(string  $action = '', string  $query_arg = 'security') 

Method secure_request()

Add security check to request parameter

Parameters

string $action

Action to perform.

string $query_arg

Query argument.

check_security()

check_security(string  $action = -1, string  $query_arg = 'security', boolean  $out_die = true) : boolean

Method check_security()

Check security request.

Parameters

string $action

Action to perform.

string $query_arg

Query argument.

boolean $out_die

return or exit.

Returns

boolean —

true or false

add_action()

add_action(string  $action, string  $callback, integer  $priority = 10, integer  $accepted = 2) 

Method add_action()

Add ajax action.

Parameters

string $action

Action to perform.

string $callback

Callback to perform.

integer $priority

priority aciton.

integer $accepted

number args.

add_action_nonce()

add_action_nonce(string  $action) 

Method add_action_nonce()

Add security nonce.

Parameters

string $action

Action to perform.

create_security_nonces()

create_security_nonces() : self

Create the security nonces.

Returns

self —

$security_nonces.

mainwp_themes_search()

mainwp_themes_search() 

Method mainwp_themes_search()

Search handler for Themes.

mainwp_theme_activate()

mainwp_theme_activate() 

Method mainwp_theme_activate()

Activate Theme, Page: Themes.

mainwp_theme_delete()

mainwp_theme_delete() 

Method mainwp_theme_delete()

Delete Theme, Page: Themes.

mainwp_theme_ignore_updates()

mainwp_theme_ignore_updates() 

Method mainwp_theme_ignore_updates()

Ignore theme updates, Page: Themes.

mainwp_themes_search_all()

mainwp_themes_search_all() 

Method mainwp_themes_search_all()

Search ALL handler for, Page: Themes.

mainwp_trusted_theme_notes_save()

mainwp_trusted_theme_notes_save() 

Method mainwp_trusted_theme_notes_save()

Save trusted theme notes, Page: Themes.

mainwp_plugins_search()

mainwp_plugins_search() 

Method mainwp_plugins_search()

Search handler for Plugins.

mainwp_plugins_search_all_active()

mainwp_plugins_search_all_active() 

Method mainwp_plugins_search_all_active()

Search all Active handler for, Page: Plugins.

mainwp_plugin_activate()

mainwp_plugin_activate() 

Method mainwp_plugin_activate()

Activate plugins, Page: Plugins.

mainwp_plugin_deactivate()

mainwp_plugin_deactivate() 

Method mainwp_plugin_deactivate()

Deactivate plugins, Page: Plugins.

mainwp_plugin_delete()

mainwp_plugin_delete() 

Method mainwp_plugin_delete()

Delete plugins, Page: Plugins.

mainwp_plugin_ignore_updates()

mainwp_plugin_ignore_updates() 

Method mainwp_plugin_ignore_updates()

Ignore plugins updates, Page: Plugins.

mainwp_trusted_plugin_notes_save()

mainwp_trusted_plugin_notes_save() 

Method mainwp_trusted_plugin_notes_save()

Save trusted plugin notes, Page: Plugins.

mainwp_widget_plugin_activate()

mainwp_widget_plugin_activate() 

Method mainwp_widget_plugin_activate()

Activate plugin, Widget: Plugins.

mainwp_widget_plugin_deactivate()

mainwp_widget_plugin_deactivate() 

Method mainwp_widget_plugin_deactivate()

Deactivate plugin, Widget: Plugins.

mainwp_widget_plugin_delete()

mainwp_widget_plugin_delete() 

Method mainwp_widget_plugin_delete()

Delete plugin, Widget: Plugins.

mainwp_widget_theme_activate()

mainwp_widget_theme_activate() 

Method mainwp_widget_theme_activate()

Activate theme, Widget: Themes.

mainwp_widget_theme_delete()

mainwp_widget_theme_delete() 

Method mainwp_widget_theme_delete()

Delete theme, Widget: Themes.

mainwp_preparebulkinstallplugintheme()

mainwp_preparebulkinstallplugintheme() 

Method mainwp_preparebulkinstallplugintheme()

Prepair bulk installation of plugins & themes, Page: InstallPlugins/Themes.

mainwp_installbulkinstallplugintheme()

mainwp_installbulkinstallplugintheme() 

Method mainwp_installbulkinstallplugintheme()

Installation of plugins & themes, Page: InstallPlugins/Themes.

mainwp_preparebulkuploadplugintheme()

mainwp_preparebulkuploadplugintheme() 

Method mainwp_preparebulkuploadplugintheme()

Prepair bulk upload of plugins & themes, Page: InstallPlugins/Themes.

mainwp_installbulkuploadplugintheme()

mainwp_installbulkuploadplugintheme() 

Method mainwp_installbulkuploadplugintheme()

Bulk upload of plugins & themes, Page: InstallPlugins/Themes.

mainwp_cleanbulkuploadplugintheme()

mainwp_cleanbulkuploadplugintheme() 

Method mainwp_cleanbulkuploadplugintheme()

Clean upload of plugins & themes, Page: InstallPlugins/Themes.

mainwp_ext_prepareinstallplugintheme()

mainwp_ext_prepareinstallplugintheme() 

Method mainwp_ext_prepareinstallplugintheme()

Prepair Installation of plugins & themes, Page: ManageSites.

mainwp_ext_performinstallplugintheme()

mainwp_ext_performinstallplugintheme() 

Method mainwp_ext_performinstallplugintheme()

Installation of plugins & themes, Page: ManageSites.

hook_prepare_installcheck_plugin()

hook_prepare_installcheck_plugin() 

Method hook_prepare_installcheck_plugin()

Prepair bulk installation of plugins,

mainwp_upgradewp()

mainwp_upgradewp() 

Method mainwp_upgradewp()

Update a specific WP core.

mainwp_ignoreplugintheme()

mainwp_ignoreplugintheme() 

Method mainwp_ignoreplugintheme()

Ignores a plugin or a theme.

mainwp_unignoreabandonedplugintheme()

mainwp_unignoreabandonedplugintheme() 

Method mainwp_unignoreabandonedplugintheme()

Unignore abandoned plugin or theme.

mainwp_unignoreabandonedpluginsthemes()

mainwp_unignoreabandonedpluginsthemes() 

Method mainwp_unignoreabandonedpluginthemes()

Unignore abandoned plugins or themes.

mainwp_dismissoutdateplugintheme()

mainwp_dismissoutdateplugintheme() 

Method mainwp_dismissoutdateplugintheme()

Dismiss outdated plugin or theme.

mainwp_dismissoutdatepluginsthemes()

mainwp_dismissoutdatepluginsthemes() 

Method mainwp_dismissoutdatepluginthemes()

Dismiss outdated plugins or themes.

mainwp_unignoreplugintheme()

mainwp_unignoreplugintheme() 

Method mainwp_unignoreplugintheme()

Unignore plugin or theme.

mainwp_ignorepluginsthemes()

mainwp_ignorepluginsthemes() 

Method mainwp_ignorepluginthemes()

Ignore plugins or themes.

mainwp_unignorepluginsthemes()

mainwp_unignorepluginsthemes() 

Method mainwp_unignorepluginthemes()

Unignore plugins or themes.

mainwp_trust_plugin()

mainwp_trust_plugin() 

Method mainwp_trust_plugin()

Trust plugin.

mainwp_trust_theme()

mainwp_trust_theme() 

Method mainwp_trust_theme()

Trust theme.