\MainWP\DashboardMainWP_Themes_Handler

Class MainWP_Themes_Handler

Summary

Methods
Properties
Constants
get_class_name()
themes_search_handler()
activate_theme()
delete_themes()
action()
ignore_updates()
trust_post()
save_trusted_theme_note()
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

Get Class Name

Returns

string —

CLASS

themes_search_handler()

themes_search_handler(mixed  $data, object  $website, object  $output) : mixed

Method themes_search_handler()

Theme Search Handler.

Parameters

mixed $data

Search data.

object $website

The website object.

object $output

Search results object.

Returns

mixed —

Exception|Theme

activate_theme()

activate_theme() 

Activate the selected theme.

delete_themes()

delete_themes() 

Delete the selected theme.

action()

action(mixed  $pAction, mixed  $theme) 

Checks to see if Theme exists, current user can edit settings, check for any errors.

Parameters

mixed $pAction

Action to perform.

mixed $theme

Theme to perform action on.

Throws

\Exception

Error message.

trust_post()

trust_post() 

This is the Bulk Method to Trust A Theme.

save_trusted_theme_note()

save_trusted_theme_note() 

This Method Saves a Trusted theme note.