Total hooks: 110Undocumented hooks: 86
Type: action
Allow other plugins to enqueue css/js after shared-ui to overwrite certain definitions.
Arguments: none
Type: filter
Display a custom success message on the WPMU Dashboard pages.
Arguments: false
Fires when config data has been loaded
<p>Can be used to manipulate the loaded data on the fly.</p>
No description
Arguments: get_home_path()
Arguments: 200
Arguments: DOMAIN_CURRENT_SITE
Arguments: PATH_CURRENT_SITE
Arguments: $hero_image
Arguments: $footer_text
Arguments: $this
Arguments: $filename
Allows to overide Snapshot CRON job run status.
Arguments: $stop
Arguments: array()
Arguments: $status
Filter Manage file restore
$response - bool
$response
bool
Arguments: $all_tables, $tables
Filter Manage backup table restore
Filter: snapshot_zip_file_corrupt Allows to imitate zip file size getting corrupted after new files are added to it
Arguments: $zip_corrupt
Check for stop.
Automatic backup processing encountered too many errors
Arguments: 'process', $key, $msg
- stringAction type indicator (process or finish)
string
$key - stringError message key
$key
$msg - stringHuman-friendly message description
$msg
Arguments: 'finish', $key, $msg
Arguments: 5 * 60
Arguments: $next_event + rand(-1 * $disperse, +1 * $disperse)
Arguments: $next_event
Arguments: \Snapshot_Model_Time::get()->get_utc_time() + $this->get_kickstart_delay()
Arguments: $secure, $user_id
Arguments: $error
Filter Manage backup restore
Arguments: $response
$response - array
array
- stringAction type indicator (process or finish).
$key - stringError message key.
$msg - stringHuman-friendly message description.
Arguments: $this->is_explicitly_enabled() || $this->is_implicitly_enabled()
Arguments: (bool) $this->_model->get_config('full_log_enable', false)
Arguments: self::LOG_IMPLICIT === $enabled
Successful backup started hook
Arguments: $backup
$this - \Snapshot_Helper_BackupCurrent backup instance.
$this
\Snapshot_Helper_Backup
Arguments: 'process', $error, $backup
$error - stringOffending error message key
$error
$backup - object, boolA Snapshot_Helper_Backup instance, or (bool)false
$backup
object, bool
Successful backup processing hook
Arguments: 'finish', $error, $backup
Successful backup finished hook
Successful backup finishing (uploading) hook
Restore processing hook
Arguments: $restore
$this - \Snapshot_Helper_RestoreCurrent restore instance.
\Snapshot_Helper_Restore
Restore finishing hook
Arguments: $msg, $key
Arguments: $backups
Arguments: network_site_url()
Arguments: (int) wp_remote_retrieve_response_code($result)
Arguments: wp_remote_retrieve_body($result)
Arguments: $api_key
Arguments: $help_url, $url
Arguments: $size
Arguments: $total
Arguments: $free
Arguments: $raw
Arguments: self::CACHE_EXPIRATION
Arguments: $this->_get_raw_backup_items()
Arguments: $this->is_dashboard_active() && $this->has_dashboard_key()
Arguments: class_exists('WPMUDEV_Dashboard')
Arguments: !empty($key)
Arguments: $this->get_config('active')
Arguments: $frequencies, $title_case
Arguments: $value
Arguments: $times
Arguments: !empty($backups)
Arguments: array_merge($this->_storage->get_backups(), $this->_local->get_backups())
Arguments: current_time('timestamp', 0)
Arguments: current_time('timestamp', 1)
Arguments: is_multisite() && $include_other, $include_other
Arguments: $this->detect_large_files($files, $chunk), $chunk
Arguments: false, $file, $size, $chunk
Arguments: $threshold
Arguments: $is_wpmu_hosting
Multipart transfer part size, in bytes
Arguments: $increment, $this->get_type(), $this
$increment - intTransfer part size.
$increment
int
$type - stringTransfer type.
$type
$transfer - objectTransfer implementation object.
$transfer
object
Arguments: $limit