\um\admin\coreAdmin_Theme_Updater

Class Admin_Theme_Updater

Summary

Methods
Properties
Constants
__construct()
recurse_copy()
restore_templates()
save_templates()
upgrader_package_options()
upgrader_process_complete()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$restored
$saved
N/A

Properties

$restored

$restored : array

Restored themes

Type

normal

$saved

$saved : array

Saved themes

Type

normal

Methods

__construct()

__construct() : mixed

Constructor.

Returns

mixed

recurse_copy()

recurse_copy(string  $src, string  $dest) : mixed

Copy directory

Parameters

string $src
string $dest

Returns

mixed

restore_templates()

restore_templates(string  $name = '') : void

Restore UM templates to theme directory

Parameters

string $name

save_templates()

save_templates(string  $name = '') : void

Save UM templates to temp directory

Parameters

string $name

upgrader_package_options()

upgrader_package_options(array  $options) : array

Filter: upgrader_package_options

Parameters

array $options

Returns

array

upgrader_process_complete()

upgrader_process_complete(\WP_Upgrader  $WP_Upgrader, array  $options) : mixed

Action: upgrader_process_complete

Parameters

\WP_Upgrader $WP_Upgrader
array $options

Returns

mixed