\MainWP\DashboardMainWP_Widget_Plugins

Class MainWP_Widget_Plugins

Summary

Methods
Properties
Constants
get_class_name()
render()
prepare_icons()
render_widget()
render_html_widget()
activate_plugin()
deactivate_plugin()
delete_plugin()
action()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

get_class_name()

get_class_name() : string

Method get_class_name()

Get Class Name

Returns

string —

CLASS Class Name.

render()

render() 

Method render()

Fire off render_widget().

prepare_icons()

prepare_icons() 

Method prepair_icons()

Utilizes WP API to grab plugin icons, last_updated, active_installs

render_html_widget()

render_html_widget(object  $website, array  $allPlugins) 

Method render_html_widget().

Render HTML plugins widget for current site

Parameters

object $website

Object containing the child site info.

array $allPlugins

Array containing all detected plugins data.

activate_plugin()

activate_plugin() 

Method activate_plugin()

Fire off Action activate & display result

deactivate_plugin()

deactivate_plugin() 

Method deactivate_plugin()

Fire off action deactivate & display result

delete_plugin()

delete_plugin() 

Method delete_plugin()

Fire off action delete & display result

action()

action(mixed  $action) 

Method action()

Initiate try catch for chosen Action

Parameters

mixed $action

Plugin Action.

Throws

\Exception

Error message.