\MainWP\DashboardMainWP_Updates_Per_Site

Class MainWP_Updates_Per_Site

Summary

Methods
Properties
Constants
get_class_name()
render_wpcore_updates()
render_plugins_updates()
render_themes_updates()
render_trans_update()
render_abandoned_plugins()
render_abandoned_themes()
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() : object

Method get_class_name()

Get Class Name.

Returns

object —

class name.

render_wpcore_updates()

render_wpcore_updates(object  $websites, integer  $total_wp_upgrades) 

Method render_wpcore_updates()

Render WP core updates

Parameters

object $websites

the websites.

integer $total_wp_upgrades

number of available WordPress updates.

render_plugins_updates()

render_plugins_updates(object  $websites, integer  $total_plugin_upgrades, mixed  $userExtension, array  $trustedPlugins) 

Method render_plugins_updates()

Render Plugins updates

Parameters

object $websites

the websites.

integer $total_plugin_upgrades

number of available plugins updates.

mixed $userExtension

user extension.

array $trustedPlugins

trusted plugins.

render_themes_updates()

render_themes_updates(object  $websites, integer  $total_theme_upgrades, mixed  $userExtension, array  $trustedThemes) 

Method render_themes_updates()

Render Themes updates

Parameters

object $websites

the websites.

integer $total_theme_upgrades

number of available themes updates.

mixed $userExtension

user extension.

array $trustedThemes

trusted themes.

render_trans_update()

render_trans_update(object  $websites, integer  $total_translation_upgrades) 

Method render_trans_update()

Render translations updates

Parameters

object $websites

the websites.

integer $total_translation_upgrades

number of available translation updates.

render_abandoned_plugins()

render_abandoned_plugins(object  $websites, array  $decodedDismissedPlugins) 

Method render_abandoned_plugins()

Render abandoned plugins

Parameters

object $websites

the websites.

array $decodedDismissedPlugins

all dismissed plugins.

Throws

\Exception

Error message.

render_abandoned_themes()

render_abandoned_themes(object  $websites, array  $decodedDismissedThemes) 

Method render_abandoned_themes()

Renders abandoned themes table content.

Parameters

object $websites

the websites.

array $decodedDismissedThemes

all dismissed themes.