mirror of
https://gh.wpcy.net/https://github.com/mainwp/mainwp.dev.git
synced 2026-07-17 01:37:45 +08:00
7360 lines
434 KiB
HTML
7360 lines
434 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>MainWP Child Documentation</title>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<base href="../">
|
|
<link rel="icon" href="images/favicon.ico"/>
|
|
<link rel="stylesheet" href="css/normalize.css">
|
|
<link rel="stylesheet" href="css/base.css">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com">
|
|
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@100;200;300;400;600;700&display=swap" rel="stylesheet">
|
|
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
|
<link rel="stylesheet" href="css/template.css">
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
|
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
|
<script src="js/template.js"></script>
|
|
<script src="js/search.js"></script>
|
|
<script defer src="js/searchIndex.js"></script>
|
|
</head>
|
|
<body id="top">
|
|
<header class="phpdocumentor-header phpdocumentor-section">
|
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">MainWP Child Documentation</a></h1>
|
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
|
<i class="fas fa-bars"></i>
|
|
</label>
|
|
<section data-search-form class="phpdocumentor-search">
|
|
<label>
|
|
<span class="visually-hidden">Search for</span>
|
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
|
</svg>
|
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
|
</label>
|
|
</section>
|
|
|
|
<nav class="phpdocumentor-topnav">
|
|
<ul class="phpdocumentor-topnav__menu">
|
|
</ul>
|
|
</nav>
|
|
</header>
|
|
|
|
<main class="phpdocumentor">
|
|
<div class="phpdocumentor-section">
|
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
|
Menu
|
|
</label>
|
|
<aside class="phpdocumentor-column -three phpdocumentor-sidebar">
|
|
<section class="phpdocumentor-sidebar__category -namespaces">
|
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/mainwp.html" class="">MainWP</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/mainwp-child.html" class="">Child</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
</section>
|
|
<section class="phpdocumentor-sidebar__category -packages">
|
|
<h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWP.html" class="">MainWP</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="packages/MainWP-Child.html" class="">Child</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="packages/MainWP-ChildCreditsPlugin.html" class="">ChildCreditsPlugin</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="packages/MainWP-Dashboard.html" class="">Dashboard</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWPChild.html" class="">MainWPChild</a>
|
|
</h4>
|
|
|
|
</section>
|
|
|
|
<section class="phpdocumentor-sidebar__category -reports">
|
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="graphs/classes.html">Class Diagram</a></h3>
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
|
</section>
|
|
|
|
<section class="phpdocumentor-sidebar__category -indices">
|
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
|
</section>
|
|
</aside>
|
|
|
|
<div class="phpdocumentor-column -nine phpdocumentor-content">
|
|
<section>
|
|
<ul class="phpdocumentor-breadcrumbs">
|
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/mainwp.html">MainWP</a></li>
|
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/mainwp-child.html">Child</a></li>
|
|
</ul>
|
|
|
|
<article class="phpdocumentor-element -class">
|
|
<h2 class="phpdocumentor-content__title">
|
|
MainWP_Child_Updraft_Plus_Backups
|
|
|
|
|
|
<div class="phpdocumentor-element__package">
|
|
in package
|
|
<ul class="phpdocumentor-breadcrumbs">
|
|
<li class="phpdocumentor-breadcrumb"><a href="packages/MainWP.html">MainWP</a></li>
|
|
<li class="phpdocumentor-breadcrumb"><a href="packages/MainWP-ChildCreditsPlugin.html">ChildCreditsPlugin</a></li>
|
|
<li class="phpdocumentor-breadcrumb"><a href="packages/MainWP-ChildCreditsPlugin-NameUpdraftPlus.html">NameUpdraftPlus</a></li>
|
|
<li class="phpdocumentor-breadcrumb"><a href="packages/MainWP-ChildCreditsPlugin-NameUpdraftPlus-BackupRestorePluginURIhttpsupdraftplus.html">BackupRestorePluginURIhttpsupdraftplus</a></li>
|
|
<li class="phpdocumentor-breadcrumb"><a href="packages/MainWP-ChildCreditsPlugin-NameUpdraftPlus-BackupRestorePluginURIhttpsupdraftplus-comAuthorUpdraftPlus.html">comAuthorUpdraftPlus</a></li>
|
|
<li class="phpdocumentor-breadcrumb"><a href="packages/MainWP-ChildCreditsPlugin-NameUpdraftPlus-BackupRestorePluginURIhttpsupdraftplus-comAuthorUpdraftPlus-ComDavidAndersonAuthorURIhttpsupdraftplus.html">ComDavidAndersonAuthorURIhttpsupdraftplus</a></li>
|
|
<li class="phpdocumentor-breadcrumb"><a href="packages/MainWP-ChildCreditsPlugin-NameUpdraftPlus-BackupRestorePluginURIhttpsupdraftplus-comAuthorUpdraftPlus-ComDavidAndersonAuthorURIhttpsupdraftplus-comLicenseGPLv3orlaterThecodeisusedfortheMainWPUpdraftPlusExtensionExtensionURLhttpsmainwp.html">comLicenseGPLv3orlaterThecodeisusedfortheMainWPUpdraftPlusExtensionExtensionURLhttpsmainwp</a></li>
|
|
<li class="phpdocumentor-breadcrumb"><a href="packages/MainWP-ChildCreditsPlugin-NameUpdraftPlus-BackupRestorePluginURIhttpsupdraftplus-comAuthorUpdraftPlus-ComDavidAndersonAuthorURIhttpsupdraftplus-comLicenseGPLv3orlaterThecodeisusedfortheMainWPUpdraftPlusExtensionExtensionURLhttpsmainwp-comextensionupdraftplus.html">comextensionupdraftplus</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
|
|
</h2>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
|
|
|
|
</div>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">29</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.29" class="phpdocumentor-element-found-in__source" data-line="29" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Class MainWP_Child_Updraft_Plus_Backups</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3 id="toc">
|
|
Table of Contents
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4 id="toc-properties">
|
|
Properties
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#toc-properties" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<dl class="phpdocumentor-table-of-contents">
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#property_instance">$instance</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Public static variable to hold the single instance of MainWP_Child_Updraft_Plus_Backups.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#property_is_plugin_installed">$is_plugin_installed</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
|
|
</dl>
|
|
|
|
<h4 id="toc-methods">
|
|
Methods
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#toc-methods" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<dl class="phpdocumentor-table-of-contents">
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method___construct">__construct()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>MainWP_Child_Updraft_Plus_Backups constructor.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_action">action()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>MainWP UpdraftPlus Extension actions.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_activejobs_list">activejobs_list()</a>
|
|
<span>
|
|
: array<string|int, mixed> </span>
|
|
</dt>
|
|
<dd>Active jobs list.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_addons2_get_option">addons2_get_option()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Get site option (2)</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_addons2_update_option">addons2_update_option()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Update site option (2)</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_addons_connect">addons_connect()</a>
|
|
<span>
|
|
: array<string|int, mixed>|array<string|int, string> </span>
|
|
</dt>
|
|
<dd>Connect UpdraftPlus Premium addons.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_all_plugins">all_plugins()</a>
|
|
<span>
|
|
: array<string|int, mixed> </span>
|
|
</dt>
|
|
<dd>Remove UpdraftPlus from plugins page.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_analyse_db_file">analyse_db_file()</a>
|
|
<span>
|
|
: array<string|int, array<string|int, mixed>> </span>
|
|
</dt>
|
|
<dd>Analyse database file.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_backup_now">backup_now()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Backup now.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_build_historystatus">build_historystatus()</a>
|
|
<span>
|
|
: array<string|int, mixed> </span>
|
|
</dt>
|
|
<dd>Build backup history status.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_close_browser_connection">close_browser_connection()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Close browser connection.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_diskspaceused">diskspaceused()</a>
|
|
<span>
|
|
: array<string|int, mixed> </span>
|
|
</dt>
|
|
<dd>Check disk space used.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_extradb_testconnection">extradb_testconnection()</a>
|
|
<span>
|
|
: array<string|int, mixed> </span>
|
|
</dt>
|
|
<dd>Extra DB test connection.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_fetch_log">fetch_log()</a>
|
|
<span>
|
|
: array<string|int, mixed>|array<string|int, string> </span>
|
|
</dt>
|
|
<dd>Fetch log.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_get_sync_data">get_sync_data()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Get sync data.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_hide_update_notice">hide_update_notice()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Hide UpdraftPlus notices.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_historystatus">historystatus()</a>
|
|
<span>
|
|
: array<string|int, mixed> </span>
|
|
</dt>
|
|
<dd>Display History Status.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_hook_updraft_plus_save_last_backup">hook_updraft_plus_save_last_backup()</a>
|
|
<span>
|
|
: array<string|int, mixed> </span>
|
|
</dt>
|
|
<dd>Hook UpdraftPlus save last backup.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_instance">instance()</a>
|
|
<span>
|
|
: <a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups">MainWP_Child_Updraft_Plus_Backups</abbr></a>|null </span>
|
|
</dt>
|
|
<dd>Create a public static instance of MainWP_Child_Updraft_Plus_Backups.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_options_validate">options_validate()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>When the options are re-saved, clear any previous cache of the connection status.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_prune_updraft_dir_prefix">prune_updraft_dir_prefix()</a>
|
|
<span>
|
|
: false|string </span>
|
|
</dt>
|
|
<dd>Prune Updraft directory prefix</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_remove_filters_for_anonymous_class">remove_filters_for_anonymous_class()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Allows removal of method for a hook when the class doesn't have a variable but you know the class name.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_remove_menu">remove_menu()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Remove UpdraftPlus from WP Admin menu.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_remove_notices">remove_notices()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Remove admin notices.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_remove_update_nag">remove_update_nag()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Remove UpdraftPlus update nag.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_replace_tokens">replace_tokens()</a>
|
|
<span>
|
|
: string|array<string|int, string> </span>
|
|
</dt>
|
|
<dd>Replace %sitename% and %siteurl% tokens.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_required_files">required_files()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Require needed UpdraftPlus Files.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_restore_alldownloaded">restore_alldownloaded()</a>
|
|
<span>
|
|
: array<string|int, mixed> </span>
|
|
</dt>
|
|
<dd>Restore all downloaded backups from history.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_save_settings">save_settings()</a>
|
|
<span>
|
|
: array<string|int, mixed> </span>
|
|
</dt>
|
|
<dd>Save UpdraftPlus settings.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_set_showhide">set_showhide()</a>
|
|
<span>
|
|
: array<string|int, mixed> </span>
|
|
</dt>
|
|
<dd>Set show or hide UpdraftPlus Plugin from Admin & plugins list.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_show_admin_warning">show_admin_warning()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Show admin warning.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_sync_others_data">sync_others_data()</a>
|
|
<span>
|
|
: array<string|int, mixed> </span>
|
|
</dt>
|
|
<dd>Sync other data from $data[] and merge with $information[]</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_update_wpmu_options">update_wpmu_options()</a>
|
|
<span>
|
|
: bool|void </span>
|
|
</dt>
|
|
<dd>Update WPMU Options.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_updraft_download_backup">updraft_download_backup()</a>
|
|
<span>
|
|
: array<string|int, mixed>|string|array<string|int, string> </span>
|
|
</dt>
|
|
<dd>UpdraftPlus Download Backup.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_updraftplus_init">updraftplus_init()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Initiate UpdraftPlus.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_vault_disconnect">vault_disconnect()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Disconnect from UpdraftPlus Vault.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_wp_before_admin_bar_render">wp_before_admin_bar_render()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Render before admin bar.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_activejobs_delete">activejobs_delete()</a>
|
|
<span>
|
|
: array<string|int, mixed>|array<string|int, string> </span>
|
|
</dt>
|
|
<dd>Delete active jobs.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_analyse_db_file_old">analyse_db_file_old()</a>
|
|
<span>
|
|
: array<string|int, array<string|int, mixed>> </span>
|
|
</dt>
|
|
<dd>Analyse old database file.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_cb_get_name_base_type">cb_get_name_base_type()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>CB get name base type.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_connected_html">connected_html()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>UpdraftPlus Vault connection html.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_date_label">date_label()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Date label.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_delete_button">delete_button()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Delete button.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_delete_old_dirs">delete_old_dirs()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Delete the old directories that are created when a backup is restored.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_delete_old_dirs_dir">delete_old_dirs_dir()</a>
|
|
<span>
|
|
: bool|string </span>
|
|
</dt>
|
|
<dd>Delete the directories within a directory.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_delete_old_dirs_go">delete_old_dirs_go()</a>
|
|
<span>
|
|
: array<string|int, mixed> </span>
|
|
</dt>
|
|
<dd>Delete old directories.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_deleteset">deleteset()</a>
|
|
<span>
|
|
: array<string|int, mixed> </span>
|
|
</dt>
|
|
<dd>Delete backup set.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_do_vault_connect">do_vault_connect()</a>
|
|
<span>
|
|
: array<string|int, mixed> </span>
|
|
</dt>
|
|
<dd>Connect to UpdraftPlus Vault.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_download_button">download_button()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Single download button.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_download_buttons">download_buttons()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Download buttons.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_download_db_button">download_db_button()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Download database button.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_download_file">download_file()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Usage requirements: Pass only a single service, as a string, into this function.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_download_status">download_status()</a>
|
|
<span>
|
|
: array<string|int, string> </span>
|
|
</dt>
|
|
<dd>Download status.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_existing_backup_table">existing_backup_table()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Build existing backups table.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_fetch_updraft_log">fetch_updraft_log()</a>
|
|
<span>
|
|
: array<string|int, mixed>|array<string|int, string> </span>
|
|
</dt>
|
|
<dd>Fetch Updraft Log.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_force_scheduled_resumption">force_scheduled_resumption()</a>
|
|
<span>
|
|
: array<string|int, mixed>|array<string|int, bool> </span>
|
|
</dt>
|
|
<dd>Force a scheduled resumption.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_get_cron">get_cron()</a>
|
|
<span>
|
|
: array<string|int, mixed>|bool </span>
|
|
</dt>
|
|
<dd>Get cron job.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_get_settings_keys">get_settings_keys()</a>
|
|
<span>
|
|
: array<string|int, mixed> </span>
|
|
</dt>
|
|
<dd>Get settings keys.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_get_updraft_data">get_updraft_data()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Get UpdraftPlus data.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_gzopen_for_read">gzopen_for_read()</a>
|
|
<span>
|
|
: bool|false|resource </span>
|
|
</dt>
|
|
<dd>Gzip open.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_last_backup_html">last_backup_html()</a>
|
|
<span>
|
|
: array<string|int, mixed> </span>
|
|
</dt>
|
|
<dd>Last backup html.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_log_button">log_button()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Log button.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_next_scheduled_backups">next_scheduled_backups()</a>
|
|
<span>
|
|
: array<string|int, mixed> </span>
|
|
</dt>
|
|
<dd>Get next scheduled backup.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_print_active_job">print_active_job()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Display active job.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_print_active_jobs">print_active_jobs()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Display active jobs.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_rebuild_backup_history">rebuild_backup_history()</a>
|
|
<span>
|
|
: array<string|int, mixed>|null </span>
|
|
</dt>
|
|
<dd>Rebuild backup history.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_recursive_directory_size">recursive_directory_size()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Recursively get directory sizes.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_recursive_directory_size_raw">recursive_directory_size_raw()</a>
|
|
<span>
|
|
: false|int </span>
|
|
</dt>
|
|
<dd>Recursivly get raw directory sizes.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_restore_button">restore_button()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Restore button.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_vault_connect">vault_connect()</a>
|
|
<span>
|
|
: bool|<abbr title="\MainWP\Child\WP_Error">WP_Error</abbr> </span>
|
|
</dt>
|
|
<dd>Connect to UpdraftPlus Vault.</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-properties">
|
|
<h3 class="phpdocumentor-elements__header" id="properties">
|
|
Properties
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h3>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-public
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_instance">
|
|
$instance
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#property_instance" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">36</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.36" class="phpdocumentor-element-found-in__source" data-line="36" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Public static variable to hold the single instance of MainWP_Child_Updraft_Plus_Backups.</p>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">$instance</span>
|
|
= <span class="phpdocumentor-signature__default-value">null</span></code>
|
|
|
|
|
|
<section class="phpdocumentor-description"><p>Default null</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_is_plugin_installed">
|
|
$is_plugin_installed
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#property_is_plugin_installed" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">39</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.39" class="phpdocumentor-element-found-in__source" data-line="39" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">bool</span>
|
|
<span class="phpdocumentor-signature__name">$is_plugin_installed</span>
|
|
= <span class="phpdocumentor-signature__default-value">false</span></code>
|
|
|
|
|
|
<section class="phpdocumentor-description"><p>Whether or not UpdraftPlus WordPress plugin is installed. Default: false.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
</section>
|
|
|
|
<section class="phpdocumentor-methods">
|
|
<h3 class="phpdocumentor-elements__header" id="methods">
|
|
Methods
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h3>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method___construct">
|
|
__construct()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method___construct" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">59</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.59" class="phpdocumentor-element-found-in__source" data-line="59" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">MainWP_Child_Updraft_Plus_Backups constructor.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">__construct</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Run any time class is called.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_action">
|
|
action()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_action" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">160</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.160" class="phpdocumentor-element-found-in__source" data-line="160" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">MainWP UpdraftPlus Extension actions.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">action</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_action#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::is_plugin_installed()">MainWP_Child_Updraft_Plus_Backups::is_plugin_installed()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_required_files"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::required_files()">MainWP_Child_Updraft_Plus_Backups::required_files()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_set_showhide"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::set_showhide()">MainWP_Child_Updraft_Plus_Backups::set_showhide()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_save_settings"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::save_settings()">MainWP_Child_Updraft_Plus_Backups::save_settings()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_addons_connect"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::addons_connect()">MainWP_Child_Updraft_Plus_Backups::addons_connect()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_backup_now"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::backup_now()">MainWP_Child_Updraft_Plus_Backups::backup_now()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_activejobs_list"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::activejobs_list()">MainWP_Child_Updraft_Plus_Backups::activejobs_list()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_diskspaceused"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::diskspaceused()">MainWP_Child_Updraft_Plus_Backups::diskspaceused()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_activejobs_list"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::activejobs_list()">MainWP_Child_Updraft_Plus_Backups::activejobs_list()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_last_backup_html"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::last_backup_html()">MainWP_Child_Updraft_Plus_Backups::last_backup_html()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_get_updraft_data"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::get_updraft_data()">MainWP_Child_Updraft_Plus_Backups::get_updraft_data()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_next_scheduled_backups"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::next_scheduled_backups()">MainWP_Child_Updraft_Plus_Backups::next_scheduled_backups()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_force_scheduled_resumption"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::force_scheduled_resumption()">MainWP_Child_Updraft_Plus_Backups::force_scheduled_resumption()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_fetch_updraft_log"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::fetch_updraft_log()">MainWP_Child_Updraft_Plus_Backups::fetch_updraft_log()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_activejobs_delete"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::activejobs_delete()">MainWP_Child_Updraft_Plus_Backups::activejobs_delete()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_historystatus"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::historystatus()">MainWP_Child_Updraft_Plus_Backups::historystatus()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_deleteset"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::deleteset()">MainWP_Child_Updraft_Plus_Backups::deleteset()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_updraft_download_backup"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::updraft_download_backup()">MainWP_Child_Updraft_Plus_Backups::updraft_download_backup()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_restore_alldownloaded"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::restore_alldownloaded()">MainWP_Child_Updraft_Plus_Backups::restore_alldownloaded()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_extradb_testconnection"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::extradb_testconnection()">MainWP_Child_Updraft_Plus_Backups::extradb_testconnection()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_delete_old_dirs_go"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::delete_old_dirs_go()">MainWP_Child_Updraft_Plus_Backups::delete_old_dirs_go()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_do_vault_connect"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::do_vault_connect()">MainWP_Child_Updraft_Plus_Backups::do_vault_connect()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_vault_disconnect"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::vault_disconnect()">MainWP_Child_Updraft_Plus_Backups::vault_disconnect()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Helper.html#method_write"><abbr title="\MainWP\Child\MainWP_Helper::write()">MainWP_Helper::write()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\MainWP\Child\UpdraftPlus()">UpdraftPlus()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\MainWP\Child\MainWP_Exception()">MainWP_Exception()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Callable.html#method_updraftplus"><abbr title="\MainWP\Child\MainWP_Child_Callable::updraftplus()">MainWP_Child_Callable::updraftplus()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_activejobs_list">
|
|
activejobs_list()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_activejobs_list" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1147</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.1147" class="phpdocumentor-element-found-in__source" data-line="1147" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Active jobs list.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">activejobs_list</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, mixed></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_activejobs_list#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_action"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::action()">MainWP_Child_Updraft_Plus_Backups::action()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_action"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::action()">MainWP_Child_Updraft_Plus_Backups::action()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, mixed></span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Return the active jobs list.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_addons2_get_option">
|
|
addons2_get_option()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_addons2_get_option" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">906</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.906" class="phpdocumentor-element-found-in__source" data-line="906" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get site option (2)</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">addons2_get_option</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$option</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Funnelling through here,
|
|
a) allows for future flexibility and,
|
|
b) allows us to migrate elegantly from the previous non-MU-friendly setup.</p>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$option</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Site option to get.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_addons2_get_option#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_update_wpmu_options"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::update_wpmu_options()">MainWP_Child_Updraft_Plus_Backups::update_wpmu_options()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$val Returned site option.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_addons2_update_option">
|
|
addons2_update_option()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_addons2_update_option" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">940</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.940" class="phpdocumentor-element-found-in__source" data-line="940" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Update site option (2)</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">addons2_update_option</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$option</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$val</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$option</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Site option to update.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$val</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Value New option value.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_addons2_update_option#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_update_wpmu_options"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::update_wpmu_options()">MainWP_Child_Updraft_Plus_Backups::update_wpmu_options()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">bool</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>False if value was not updated. True if value was updated.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_addons_connect">
|
|
addons_connect()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_addons_connect" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">841</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.841" class="phpdocumentor-element-found-in__source" data-line="841" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Connect UpdraftPlus Premium addons.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">addons_connect</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, mixed>|array<string|int, string></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_addons_connect#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_update_wpmu_options"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::update_wpmu_options()">MainWP_Child_Updraft_Plus_Backups::update_wpmu_options()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_action"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::action()">MainWP_Child_Updraft_Plus_Backups::action()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, mixed>|array<string|int, string></span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$out return response array. Success or nopremium.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_all_plugins">
|
|
all_plugins()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_all_plugins" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">4281</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.4281" class="phpdocumentor-element-found-in__source" data-line="4281" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Remove UpdraftPlus from plugins page.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">all_plugins</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$plugins</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, mixed></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$plugins</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>All plugins array.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, mixed></span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$plugins All plugins array with UpdraftPlus removed.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_analyse_db_file">
|
|
analyse_db_file()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_analyse_db_file" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">2498</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.2498" class="phpdocumentor-element-found-in__source" data-line="2498" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Analyse database file.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">analyse_db_file</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$timestamp</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$res</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$db_file</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">false</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$header_only</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">false</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, array<string|int, mixed>></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$timestamp</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>File timestamp.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$res</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>UpdraftPlus response.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$db_file</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">false</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Whether or not a DB file was found. Default: false.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$header_only</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">false</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Whether or not file only has headers. Default: false.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_analyse_db_file#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_gzopen_for_read"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::gzopen_for_read()">MainWP_Child_Updraft_Plus_Backups::gzopen_for_read()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$wpdb::db_version()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::get_wordpress_version()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::backups_dir_location()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::get_max_packet_size()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::decrypt()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::get_similar_collate_related_to_charset()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::mod_rewrite_unavailable()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::get_similar_collate_based_on_ocuurence_count()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\MainWP\Child\UpdraftPlus_Backup_History::get_history()">UpdraftPlus_Backup_History::get_history()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>UpdraftPlus_Encryption::is_file_encrypted(</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\MainWP\Child\UpdraftPlus_Options::get_updraft_option()">UpdraftPlus_Options::get_updraft_option()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\MainWP\Child\UpdraftPlus_Manipulation_Functions::normalise_url()">UpdraftPlus_Manipulation_Functions::normalise_url()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\MainWP\Child\UpdraftPlus_Manipulation_Functions::str_replace_once()">UpdraftPlus_Manipulation_Functions::str_replace_once()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\MainWP\Child\UpdraftPlus_Manipulation_Functions::get_matching_str_from_array_elems()">UpdraftPlus_Manipulation_Functions::get_matching_str_from_array_elems()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, array<string|int, mixed>></span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Return array( $mess, $warn, $err, $info ).</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_backup_now">
|
|
backup_now()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_backup_now" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1106</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.1106" class="phpdocumentor-element-found-in__source" data-line="1106" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Backup now.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">backup_now</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_backup_now#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_close_browser_connection"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::close_browser_connection()">MainWP_Child_Updraft_Plus_Backups::close_browser_connection()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_action"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::action()">MainWP_Child_Updraft_Plus_Backups::action()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_build_historystatus">
|
|
build_historystatus()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_build_historystatus" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1607</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.1607" class="phpdocumentor-element-found-in__source" data-line="1607" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Build backup history status.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">build_historystatus</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, mixed></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_build_historystatus#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">throws</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Exception.html"><abbr title="\MainWP\Child\MainWP_Exception">MainWP_Exception</abbr></a></span>
|
|
|
|
<section class="phpdocumentor-description"><p>Error message.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>\MainWP\Child\MainWP_Helper::instance()->check_classes_exists()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>\MainWP\Child\MainWP_Helper::instance()->check_methods()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_existing_backup_table"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::existing_backup_table()">MainWP_Child_Updraft_Plus_Backups::existing_backup_table()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\UpdraftPlus_Backup_History::get_history()">UpdraftPlus_Backup_History::get_history()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_get_updraft_data"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::get_updraft_data()">MainWP_Child_Updraft_Plus_Backups::get_updraft_data()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_deleteset"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::deleteset()">MainWP_Child_Updraft_Plus_Backups::deleteset()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, mixed></span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Return response array.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_close_browser_connection">
|
|
close_browser_connection()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_close_browser_connection" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">4095</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.4095" class="phpdocumentor-element-found-in__source" data-line="4095" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Close browser connection.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">close_browser_connection</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$txt</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">''</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$txt</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">''</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Return Base64 Encoded output.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_close_browser_connection#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_backup_now"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::backup_now()">MainWP_Child_Updraft_Plus_Backups::backup_now()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_updraft_download_backup"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::updraft_download_backup()">MainWP_Child_Updraft_Plus_Backups::updraft_download_backup()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_force_scheduled_resumption"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::force_scheduled_resumption()">MainWP_Child_Updraft_Plus_Backups::force_scheduled_resumption()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_diskspaceused">
|
|
diskspaceused()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_diskspaceused" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">3509</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.3509" class="phpdocumentor-element-found-in__source" data-line="3509" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Check disk space used.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">diskspaceused</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, mixed></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_diskspaceused#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_recursive_directory_size"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::recursive_directory_size()">MainWP_Child_Updraft_Plus_Backups::recursive_directory_size()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::backups_dir_location()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::get_backupable_file_entities()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::get_exclude()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_action"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::action()">MainWP_Child_Updraft_Plus_Backups::action()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, mixed></span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$out Return Disk Space Used or ERROR</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_extradb_testconnection">
|
|
extradb_testconnection()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_extradb_testconnection" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">977</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.977" class="phpdocumentor-element-found-in__source" data-line="977" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Extra DB test connection.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">extradb_testconnection</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, mixed></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_extradb_testconnection#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\MainWP\Child\UpdraftPlus_WPDB_OtherDB_Test()">UpdraftPlus_WPDB_OtherDB_Test()</abbr></span>
|
|
|
|
<section class="phpdocumentor-description"><p>Credits
|
|
Plugin: UpdraftPlus - Backup/Restore
|
|
PluginURI: http://updraftplus.com
|
|
Description: Backup and restore: take backups locally, or backup to Amazon S3, Dropbox, Google Drive, Rackspace, (S)FTP, WebDAV & email, on automatic schedules.
|
|
Author: UpdraftPlus.Com, DavidAnderson
|
|
Version: 1.9.60
|
|
Donate link: http://david.dw-perspective.org.uk/donate
|
|
License: GPLv3 or later
|
|
Text Domain: updraftplus
|
|
Domain Path: /languages
|
|
Author URI: http://updraftplus.com</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_action"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::action()">MainWP_Child_Updraft_Plus_Backups::action()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, mixed></span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Return response array.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_fetch_log">
|
|
fetch_log()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_fetch_log" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">3971</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.3971" class="phpdocumentor-element-found-in__source" data-line="3971" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Fetch log.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">fetch_log</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$backup_nonce</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$log_pointer</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">0</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, mixed>|array<string|int, string></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$backup_nonce</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Backup nonce.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$log_pointer</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">int</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">0</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Log pointer.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_fetch_log#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::last_modified_log()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::backups_dir_location()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_fetch_updraft_log"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::fetch_updraft_log()">MainWP_Child_Updraft_Plus_Backups::fetch_updraft_log()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, mixed>|array<string|int, string></span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Return log content, nonce & pointer. ERROR on failure.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_sync_data">
|
|
get_sync_data()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_get_sync_data" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">4269</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.4269" class="phpdocumentor-element-found-in__source" data-line="4269" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get sync data.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">get_sync_data</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$with_hist</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">false</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$with_hist</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">false</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Whether or not to include history.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_get_sync_data#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_required_files"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::required_files()">MainWP_Child_Updraft_Plus_Backups::required_files()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_get_updraft_data"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::get_updraft_data()">MainWP_Child_Updraft_Plus_Backups::get_updraft_data()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_hide_update_notice">
|
|
hide_update_notice()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_hide_update_notice" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">4232</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.4232" class="phpdocumentor-element-found-in__source" data-line="4232" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Hide UpdraftPlus notices.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">hide_update_notice</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$slugs</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$slugs</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Plugin slugs.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$slugs Plugin slugs.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_historystatus">
|
|
historystatus()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_historystatus" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1631</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.1631" class="phpdocumentor-element-found-in__source" data-line="1631" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Display History Status.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">historystatus</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">null </span><span class="phpdocumentor-signature__argument__name">$remotescan</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">null </span><span class="phpdocumentor-signature__argument__name">$rescan</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, mixed></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$remotescan</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">null</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Remote Scan $_POST data. Default: null</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$rescan</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">null</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Rescan $_POST data. Default: null</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_historystatus#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">throws</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Exception.html"><abbr title="\MainWP\Child\MainWP_Exception">MainWP_Exception</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_rebuild_backup_history"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::rebuild_backup_history()">MainWP_Child_Updraft_Plus_Backups::rebuild_backup_history()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_existing_backup_table"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::existing_backup_table()">MainWP_Child_Updraft_Plus_Backups::existing_backup_table()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\MainWP\Child\UpdraftPlus_Backup_History::get_history()">UpdraftPlus_Backup_History::get_history()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_action"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::action()">MainWP_Child_Updraft_Plus_Backups::action()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, mixed></span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Return history status data.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_hook_updraft_plus_save_last_backup">
|
|
hook_updraft_plus_save_last_backup()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_hook_updraft_plus_save_last_backup" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">82</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.82" class="phpdocumentor-element-found-in__source" data-line="82" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Hook UpdraftPlus save last backup.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">hook_updraft_plus_save_last_backup</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$last_backup</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, mixed></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$last_backup</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Backup array.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_hook_updraft_plus_save_last_backup#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Utility.html#method_update_lasttime_backup"><abbr title="\MainWP\Child\MainWP_Utility::update_lasttime_backup()">MainWP_Utility::update_lasttime_backup()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, mixed></span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$last_backup Return response array.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_instance">
|
|
instance()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_instance" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">46</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.46" class="phpdocumentor-element-found-in__source" data-line="46" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Create a public static instance of MainWP_Child_Updraft_Plus_Backups.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">instance</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups">MainWP_Child_Updraft_Plus_Backups</abbr></a>|null</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups">MainWP_Child_Updraft_Plus_Backups</abbr></a>|null</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_options_validate">
|
|
options_validate()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_options_validate" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">950</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.950" class="phpdocumentor-element-found-in__source" data-line="950" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">When the options are re-saved, clear any previous cache of the connection status.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">options_validate</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$input</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$input</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Option to validate.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_options_validate#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_update_wpmu_options"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::update_wpmu_options()">MainWP_Child_Updraft_Plus_Backups::update_wpmu_options()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$input The validated option.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_prune_updraft_dir_prefix">
|
|
prune_updraft_dir_prefix()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_prune_updraft_dir_prefix" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1887</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.1887" class="phpdocumentor-element-found-in__source" data-line="1887" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Prune Updraft directory prefix</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">prune_updraft_dir_prefix</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$updraft_dir</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">false|string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>This options filter removes ABSPATH off the front of $updraft_dir, if it is given absolutely and contained within it.</p>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$updraft_dir</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Directory to prune.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">false|string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Return Pruned $updraft_dir or FALSE on failure.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_remove_filters_for_anonymous_class">
|
|
remove_filters_for_anonymous_class()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_remove_filters_for_anonymous_class" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">4179</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.4179" class="phpdocumentor-element-found-in__source" data-line="4179" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Allows removal of method for a hook when the class doesn't have a variable but you know the class name.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">remove_filters_for_anonymous_class</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$hook_name</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">''</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$class_name</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">''</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$method_name</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">''</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$priority</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">0</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$hook_name</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">''</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Hook name.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$class_name</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">''</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Class name.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$method_name</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">''</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Method name.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$priority</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">int</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">0</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Priority.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_remove_filters_for_anonymous_class#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_remove_notices"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::remove_notices()">MainWP_Child_Updraft_Plus_Backups::remove_notices()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">bool</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Return FALSE on failure.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_remove_menu">
|
|
remove_menu()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_remove_menu" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">4295</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.4295" class="phpdocumentor-element-found-in__source" data-line="4295" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Remove UpdraftPlus from WP Admin menu.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">remove_menu</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_remove_notices">
|
|
remove_notices()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_remove_notices" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">4145</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.4145" class="phpdocumentor-element-found-in__source" data-line="4145" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Remove admin notices.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">remove_notices</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_remove_notices#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_remove_filters_for_anonymous_class"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::remove_filters_for_anonymous_class()">MainWP_Child_Updraft_Plus_Backups::remove_filters_for_anonymous_class()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_remove_update_nag">
|
|
remove_update_nag()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_remove_update_nag" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">4246</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.4246" class="phpdocumentor-element-found-in__source" data-line="4246" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Remove UpdraftPlus update nag.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">remove_update_nag</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$value</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$value</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>String to remove.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_remove_update_nag#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Helper.html#method_is_updates_screen"><abbr title="\MainWP\Child\MainWP_Helper::is_updates_screen()">MainWP_Helper::is_updates_screen()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$value Return response.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_replace_tokens">
|
|
replace_tokens()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_replace_tokens" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">817</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.817" class="phpdocumentor-element-found-in__source" data-line="817" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Replace %sitename% and %siteurl% tokens.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">replace_tokens</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$str</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">''</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string|array<string|int, string></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$str</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">''</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>String to search & replace.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_replace_tokens#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_save_settings"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::save_settings()">MainWP_Child_Updraft_Plus_Backups::save_settings()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string|array<string|int, string></span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$str Altered string.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_required_files">
|
|
required_files()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_required_files" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">556</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.556" class="phpdocumentor-element-found-in__source" data-line="556" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Require needed UpdraftPlus Files.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">required_files</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_required_files#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_action"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::action()">MainWP_Child_Updraft_Plus_Backups::action()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_get_sync_data"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::get_sync_data()">MainWP_Child_Updraft_Plus_Backups::get_sync_data()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_restore_alldownloaded">
|
|
restore_alldownloaded()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_restore_alldownloaded" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1910</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.1910" class="phpdocumentor-element-found-in__source" data-line="1910" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Restore all downloaded backups from history.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">restore_alldownloaded</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, mixed></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_restore_alldownloaded#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\MainWP\Child\UpdraftPlus_Backup_History::get_history()">UpdraftPlus_Backup_History::get_history()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::get_backup_history()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::backups_dir_location()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::analyse_db_file(</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::get_backupable_file_entities(</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_analyse_db_file_old"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::analyse_db_file_old()">MainWP_Child_Updraft_Plus_Backups::analyse_db_file_old()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_action"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::action()">MainWP_Child_Updraft_Plus_Backups::action()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, mixed></span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Return response array.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_save_settings">
|
|
save_settings()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_save_settings" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">580</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.580" class="phpdocumentor-element-found-in__source" data-line="580" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Save UpdraftPlus settings.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">save_settings</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, mixed></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_save_settings#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_get_settings_keys"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::get_settings_keys()">MainWP_Child_Updraft_Plus_Backups::get_settings_keys()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_replace_tokens"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::replace_tokens()">MainWP_Child_Updraft_Plus_Backups::replace_tokens()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\MainWP\Child\UpdraftPlus_Options::get_updraft_option()">UpdraftPlus_Options::get_updraft_option()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\MainWP\Child\UpdraftPlus_Options::update_updraft_option()">UpdraftPlus_Options::update_updraft_option()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::schedule_backup()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::schedule_backup_database()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_action"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::action()">MainWP_Child_Updraft_Plus_Backups::action()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, mixed></span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$out Return response array.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_set_showhide">
|
|
set_showhide()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_set_showhide" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">261</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.261" class="phpdocumentor-element-found-in__source" data-line="261" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Set show or hide UpdraftPlus Plugin from Admin & plugins list.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">set_showhide</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, mixed></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_set_showhide#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Helper.html#method_update_option"><abbr title="\MainWP\Child\MainWP_Helper::update_option()">MainWP_Helper::update_option()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_action"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::action()">MainWP_Child_Updraft_Plus_Backups::action()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, mixed></span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$information Return results.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_show_admin_warning">
|
|
show_admin_warning()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_show_admin_warning" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">2212</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.2212" class="phpdocumentor-element-found-in__source" data-line="2212" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Show admin warning.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">show_admin_warning</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$message</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$class</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">'updated'</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$message</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Warning message to display.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$class</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">'updated'</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>UpdraftPlus message CSS class.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_sync_others_data">
|
|
sync_others_data()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_sync_others_data" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">108</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.108" class="phpdocumentor-element-found-in__source" data-line="108" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Sync other data from $data[] and merge with $information[]</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">sync_others_data</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$information</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$data</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">array()</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, mixed></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$information</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Returned response array for MainWP BackWPup Extension actions.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$data</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">array()</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Other data to sync to $information array.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_sync_others_data#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::is_plugin_installed()">MainWP_Child_Updraft_Plus_Backups::is_plugin_installed()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::is_plugin_installed()">MainWP_Child_Updraft_Plus_Backups::is_plugin_installed()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\MainWP\Child\MainWP_Exception()">MainWP_Exception()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, mixed></span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$information Returned information array with both sets of data.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_update_wpmu_options">
|
|
update_wpmu_options()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_update_wpmu_options" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">877</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.877" class="phpdocumentor-element-found-in__source" data-line="877" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Update WPMU Options.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">update_wpmu_options</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$value</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool|void</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$value</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Values to save.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_update_wpmu_options#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\MainWP\Child\UpdraftPlus_Options::user_can_manage()">UpdraftPlus_Options::user_can_manage()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_addons2_get_option"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::addons2_get_option()">MainWP_Child_Updraft_Plus_Backups::addons2_get_option()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_options_validate"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::options_validate()">MainWP_Child_Updraft_Plus_Backups::options_validate()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_addons2_update_option"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::addons2_update_option()">MainWP_Child_Updraft_Plus_Backups::addons2_update_option()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_addons_connect"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::addons_connect()">MainWP_Child_Updraft_Plus_Backups::addons_connect()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">bool|void</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Return TRUE on success or VOID on failure.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_updraft_download_backup">
|
|
updraft_download_backup()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_updraft_download_backup" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1684</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.1684" class="phpdocumentor-element-found-in__source" data-line="1684" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">UpdraftPlus Download Backup.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">updraft_download_backup</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, mixed>|string|array<string|int, string></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_updraft_download_backup#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::get_backupable_file_entities()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::backup_time_nonce()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::jobdata_set()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::get_backup_history()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::backups_dir_location()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::spool_file()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::log()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::logfile_open()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::logfile_name()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::logfile_handle()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\MainWP\Child\UpdraftPlus_Options::get_updraft_option()">UpdraftPlus_Options::get_updraft_option()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\MainWP\Child\UpdraftPlus_Backup_History::get_history()">UpdraftPlus_Backup_History::get_history()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_close_browser_connection"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::close_browser_connection()">MainWP_Child_Updraft_Plus_Backups::close_browser_connection()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_download_file"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::download_file()">MainWP_Child_Updraft_Plus_Backups::download_file()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_action"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::action()">MainWP_Child_Updraft_Plus_Backups::action()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, mixed>|string|array<string|int, string></span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Return response array.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_updraftplus_init">
|
|
updraftplus_init()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_updraftplus_init" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">4125</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.4125" class="phpdocumentor-element-found-in__source" data-line="4125" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Initiate UpdraftPlus.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">updraftplus_init</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_updraftplus_init#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::is_plugin_installed()">MainWP_Child_Updraft_Plus_Backups::is_plugin_installed()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child.html#method_parse_init_extensions"><abbr title="\MainWP\Child\MainWP_Child::parse_init_extensions()">MainWP_Child::parse_init_extensions()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_vault_disconnect">
|
|
vault_disconnect()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_vault_disconnect" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">511</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.511" class="phpdocumentor-element-found-in__source" data-line="511" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Disconnect from UpdraftPlus Vault.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">vault_disconnect</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>This method also gets called directly, so don't add code that assumes that it's definitely an AJAX situation.</p>
|
|
</section>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_vault_disconnect#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">throws</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Exception.html"><abbr title="\MainWP\Child\MainWP_Exception">MainWP_Exception</abbr></a></span>
|
|
|
|
<section class="phpdocumentor-description"><p>Error message.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\UpdraftPlus_Options::get_updraft_option()">UpdraftPlus_Options::get_updraft_option()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\UpdraftPlus_Options::update_updraft_option()">UpdraftPlus_Options::update_updraft_option()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Utility.html#method_close_connection"><abbr title="\MainWP\Child\MainWP_Utility::close_connection()">MainWP_Utility::close_connection()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_action"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::action()">MainWP_Child_Updraft_Plus_Backups::action()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_wp_before_admin_bar_render">
|
|
wp_before_admin_bar_render()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_wp_before_admin_bar_render" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">4206</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.4206" class="phpdocumentor-element-found-in__source" data-line="4206" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Render before admin bar.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">wp_before_admin_bar_render</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_wp_before_admin_bar_render#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$wp_admin_bar::get_nodes()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$wp_admin_bar::remove_node()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_activejobs_delete">
|
|
activejobs_delete()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_activejobs_delete" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">3924</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.3924" class="phpdocumentor-element-found-in__source" data-line="3924" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Delete active jobs.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">activejobs_delete</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, mixed>|array<string|int, string></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_activejobs_delete#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_action"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::action()">MainWP_Child_Updraft_Plus_Backups::action()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, mixed>|array<string|int, string></span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Return Y Job has been deleted or N Job not found.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_analyse_db_file_old">
|
|
analyse_db_file_old()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_analyse_db_file_old" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">2235</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.2235" class="phpdocumentor-element-found-in__source" data-line="2235" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Analyse old database file.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">analyse_db_file_old</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$timestamp</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$res</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$db_file</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">false</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$header_only</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">false</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, array<string|int, mixed>></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$timestamp</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>File timestamp.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$res</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>UpdraftPlus response.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$db_file</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">false</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Whether or not a DB file was found. Default: false.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$header_only</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">false</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Whether or not file only has headers. Default: false.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_analyse_db_file_old#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::backups_dir_location()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::get_max_packet_size()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::get_backup_history()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::is_db_encrypted()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::decrypt()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\MainWP\Child\UpdraftPlus_Options::get_updraft_option()">UpdraftPlus_Options::get_updraft_option()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\MainWP\Child\UpdraftPlus_Backup_History::get_history()">UpdraftPlus_Backup_History::get_history()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_gzopen_for_read"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::gzopen_for_read()">MainWP_Child_Updraft_Plus_Backups::gzopen_for_read()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_restore_alldownloaded"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::restore_alldownloaded()">MainWP_Child_Updraft_Plus_Backups::restore_alldownloaded()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, array<string|int, mixed>></span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Return array( $mess, $warn, $err, $info ).</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_cb_get_name_base_type">
|
|
cb_get_name_base_type()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_cb_get_name_base_type" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1097</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.1097" class="phpdocumentor-element-found-in__source" data-line="1097" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">CB get name base type.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">cb_get_name_base_type</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$a</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$a</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_connected_html">
|
|
connected_html()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_connected_html" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">383</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.383" class="phpdocumentor-element-found-in__source" data-line="383" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">UpdraftPlus Vault connection html.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">connected_html</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_connected_html#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">throws</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Exception.html"><abbr title="\MainWP\Child\MainWP_Exception">MainWP_Exception</abbr></a></span>
|
|
|
|
<section class="phpdocumentor-description"><p>Error message.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>\MainWP\Child\MainWP_Helper::instance()->check_classes_exists()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\MainWP\Child\MainWP_Helper::MainWP_Helper">MainWP_Helper::MainWP_Helper</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\MainWP\Child\UpdraftPlus_Options::get_updraft_option()">UpdraftPlus_Options::get_updraft_option()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_do_vault_connect"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::do_vault_connect()">MainWP_Child_Updraft_Plus_Backups::do_vault_connect()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$ret Returns connected to UpdraftPlus Vault message html.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_date_label">
|
|
date_label()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_date_label" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">3203</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.3203" class="phpdocumentor-element-found-in__source" data-line="3203" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Date label.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">date_label</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$pretty_date</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$key</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$backup</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$jobdata</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$nonce</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$pretty_date</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Pretty date.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$key</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Timestamp.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$backup</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Type of backup.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$jobdata</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Job data.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$nonce</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Security nonce.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_date_label#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_existing_backup_table"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::existing_backup_table()">MainWP_Child_Updraft_Plus_Backups::existing_backup_table()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$ret Return date label html.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_delete_button">
|
|
delete_button()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_delete_button" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">3186</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.3186" class="phpdocumentor-element-found-in__source" data-line="3186" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Delete button.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">delete_button</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$key</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$nonce</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$backup</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$key</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Timestamp.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$nonce</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Security nonce.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$backup</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Backup to delete.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Delete button html.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_delete_old_dirs">
|
|
delete_old_dirs()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_delete_old_dirs" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">2108</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.2108" class="phpdocumentor-element-found-in__source" data-line="2108" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Delete the old directories that are created when a backup is restored.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">delete_old_dirs</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">bool</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Return $ret, $ret3, $ret4. TRUE|FALSE.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_delete_old_dirs_dir">
|
|
delete_old_dirs_dir()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_delete_old_dirs_dir" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">2158</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.2158" class="phpdocumentor-element-found-in__source" data-line="2158" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Delete the directories within a directory.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">delete_old_dirs_dir</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$dir</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$wpfs</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">true</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool|string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$dir</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Directory to scan.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$wpfs</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">true</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Whether or not to use Wordpress filesystem to list directories, Default: true.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">bool|string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$ret Return FALSE & echo 'Failed' on failure or echo 'OK' on success.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_delete_old_dirs_go">
|
|
delete_old_dirs_go()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_delete_old_dirs_go" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">2082</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.2082" class="phpdocumentor-element-found-in__source" data-line="2082" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Delete old directories.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">delete_old_dirs_go</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$show_return</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">true</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, mixed></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$show_return</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">true</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Whether or not to show removed directories in the output. Defualt: true.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_delete_old_dirs_go#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_action"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::action()">MainWP_Child_Updraft_Plus_Backups::action()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, mixed></span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Return response array.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_deleteset">
|
|
deleteset()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_deleteset" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1468</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.1468" class="phpdocumentor-element-found-in__source" data-line="1468" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Delete backup set.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">deleteset</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, mixed></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_deleteset#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">throws</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Exception.html"><abbr title="\MainWP\Child\MainWP_Exception">MainWP_Exception</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::get_backup_history()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::backup_time_nonce()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::jobdata_set()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::logfile_open()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::backups_dir_location()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::get_backupable_file_entities()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\MainWP\Child\UpdraftPlus_Options::get_updraft_option()">UpdraftPlus_Options::get_updraft_option()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\MainWP\Child\UpdraftPlus_Options::update_updraft_option()">UpdraftPlus_Options::update_updraft_option()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\MainWP\Child\UpdraftPlus_Backup_History::get_history()">UpdraftPlus_Backup_History::get_history()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_build_historystatus"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::build_historystatus()">MainWP_Child_Updraft_Plus_Backups::build_historystatus()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_action"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::action()">MainWP_Child_Updraft_Plus_Backups::action()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, mixed></span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Return results array.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_do_vault_connect">
|
|
do_vault_connect()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_do_vault_connect" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">344</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.344" class="phpdocumentor-element-found-in__source" data-line="344" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Connect to UpdraftPlus Vault.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">do_vault_connect</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, mixed></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_do_vault_connect#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">throws</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Exception.html"><abbr title="\MainWP\Child\MainWP_Exception">MainWP_Exception</abbr></a></span>
|
|
|
|
<section class="phpdocumentor-description"><p>Error message.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\MainWP\Child\UpdraftPlus_Options::get_updraft_option()">UpdraftPlus_Options::get_updraft_option()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_connected_html"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::connected_html()">MainWP_Child_Updraft_Plus_Backups::connected_html()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_action"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::action()">MainWP_Child_Updraft_Plus_Backups::action()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, mixed></span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response Return response.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_download_button">
|
|
download_button()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_download_button" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">3382</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.3382" class="phpdocumentor-element-found-in__source" data-line="3382" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Single download button.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">download_button</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$type</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$key</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$findex</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$nonce_field</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$ide</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$pdescrip</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$esc_pretty_date</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$set_contents</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$type</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Backup type.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$key</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Backup key.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$findex</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>File index.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$nonce_field</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Security nonce field.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$ide</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Submit title.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$pdescrip</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Description.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$esc_pretty_date</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Escaped pretty date.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$set_contents</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>mainwp_updraft_downloader value.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_download_button#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_download_buttons"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::download_buttons()">MainWP_Child_Updraft_Plus_Backups::download_buttons()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Download button html.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_download_buttons">
|
|
download_buttons()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_download_buttons" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">3270</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.3270" class="phpdocumentor-element-found-in__source" data-line="3270" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Download buttons.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">download_buttons</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$backup</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$key</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$accept</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__reference-operator">&</span><span class="phpdocumentor-signature__argument__name">$entities</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$esc_pretty_date</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$nonce_field</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$backup</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Backup data array.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$key</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Backup key.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$accept</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Destination array.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$entities</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>File entities.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$esc_pretty_date</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Escaped pretty date.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$nonce_field</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Nonce field.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_download_buttons#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::get_backupable_file_entities()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_download_button"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::download_button()">MainWP_Child_Updraft_Plus_Backups::download_button()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_existing_backup_table"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::existing_backup_table()">MainWP_Child_Updraft_Plus_Backups::existing_backup_table()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$ret Download button html.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_download_db_button">
|
|
download_db_button()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_download_db_button" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">3224</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.3224" class="phpdocumentor-element-found-in__source" data-line="3224" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Download database button.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">download_db_button</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$bkey</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$key</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$esc_pretty_date</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$nonce_field</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$backup</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$accept</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">array()</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$bkey</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Backup key.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$key</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Timestamp.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$esc_pretty_date</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Escaped pretty date.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$nonce_field</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Nonce filed.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$backup</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Backup data</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$accept</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">array()</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Destination array.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_download_db_button#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_existing_backup_table"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::existing_backup_table()">MainWP_Child_Updraft_Plus_Backups::existing_backup_table()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$ret Download DB button html.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_download_file">
|
|
download_file()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_download_file" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1852</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.1852" class="phpdocumentor-element-found-in__source" data-line="1852" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Usage requirements: Pass only a single service, as a string, into this function.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">download_file</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$file</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$service</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$file</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>File to download.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$service</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>UpdraftPlus service method.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_download_file#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::log()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$remote_obj::download()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_updraft_download_backup"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::updraft_download_backup()">MainWP_Child_Updraft_Plus_Backups::updraft_download_backup()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">bool</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Return file or FALSE on failure.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_download_status">
|
|
download_status()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_download_status" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">4038</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.4038" class="phpdocumentor-element-found-in__source" data-line="4038" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Download status.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">download_status</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$timestamp</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$type</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$findex</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, string></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$timestamp</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Job timestamp</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$type</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Job type.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$findex</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>File Index.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_download_status#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::jobdata_get()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, string></span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Return $response array.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_existing_backup_table">
|
|
existing_backup_table()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_existing_backup_table" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">3028</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.3028" class="phpdocumentor-element-found-in__source" data-line="3028" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Build existing backups table.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">existing_backup_table</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$backup_history</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">false</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$backup_history</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">false</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Whether or not there is existing backups. Default: false.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_existing_backup_table#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">throws</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Exception.html"><abbr title="\MainWP\Child\MainWP_Exception">MainWP_Exception</abbr></a></span>
|
|
|
|
<section class="phpdocumentor-description"><p>Error message.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\MainWP\Child\UpdraftPlus_Backup_History::get_history()">UpdraftPlus_Backup_History::get_history()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\MainWP\Child\UpdraftPlus_Encryption::is_file_encrypted()">UpdraftPlus_Encryption::is_file_encrypted()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::backups_dir_location()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::get_backupable_file_entities()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::jobdata_getarray()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::is_db_encrypted()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::::delete_button()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_date_label"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::date_label()">MainWP_Child_Updraft_Plus_Backups::date_label()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_download_db_button"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::download_db_button()">MainWP_Child_Updraft_Plus_Backups::download_db_button()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_download_buttons"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::download_buttons()">MainWP_Child_Updraft_Plus_Backups::download_buttons()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_restore_button"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::restore_button()">MainWP_Child_Updraft_Plus_Backups::restore_button()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_log_button"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::log_button()">MainWP_Child_Updraft_Plus_Backups::log_button()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>\MainWP\Child\MainWP_Helper::instance()->check_methods()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_build_historystatus"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::build_historystatus()">MainWP_Child_Updraft_Plus_Backups::build_historystatus()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_historystatus"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::historystatus()">MainWP_Child_Updraft_Plus_Backups::historystatus()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Return $ret backups table html.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_fetch_updraft_log">
|
|
fetch_updraft_log()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_fetch_updraft_log" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">3913</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.3913" class="phpdocumentor-element-found-in__source" data-line="3913" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Fetch Updraft Log.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">fetch_updraft_log</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, mixed>|array<string|int, string></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_fetch_updraft_log#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_fetch_log"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::fetch_log()">MainWP_Child_Updraft_Plus_Backups::fetch_log()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_action"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::action()">MainWP_Child_Updraft_Plus_Backups::action()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, mixed>|array<string|int, string></span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Return log content, nonce & pointer. ERROR on failure.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_force_scheduled_resumption">
|
|
force_scheduled_resumption()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_force_scheduled_resumption" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">3474</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.3474" class="phpdocumentor-element-found-in__source" data-line="3474" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Force a scheduled resumption.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">force_scheduled_resumption</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, mixed>|array<string|int, bool></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_force_scheduled_resumption#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_close_browser_connection"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::close_browser_connection()">MainWP_Child_Updraft_Plus_Backups::close_browser_connection()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::jobdata_set_from_array()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::backup_resume()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_action"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::action()">MainWP_Child_Updraft_Plus_Backups::action()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, mixed>|array<string|int, bool></span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Return FALSE & Empty array on failure.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_cron">
|
|
get_cron()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_get_cron" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">3647</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.3647" class="phpdocumentor-element-found-in__source" data-line="3647" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get cron job.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">get_cron</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$job_id</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">false</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, mixed>|bool</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$job_id</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">false</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Cron job ID.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_get_cron#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::jobdata_getarray()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_print_active_jobs"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::print_active_jobs()">MainWP_Child_Updraft_Plus_Backups::print_active_jobs()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, mixed>|bool</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Return cron job time and data or FALSE on failure.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_settings_keys">
|
|
get_settings_keys()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_get_settings_keys" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">274</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.274" class="phpdocumentor-element-found-in__source" data-line="274" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get settings keys.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">get_settings_keys</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, mixed></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, mixed></span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Array of settings keys.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_updraft_data">
|
|
get_updraft_data()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_get_updraft_data" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1274</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.1274" class="phpdocumentor-element-found-in__source" data-line="1274" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get UpdraftPlus data.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">get_updraft_data</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$with_hist</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">true</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$with_hist</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">true</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Whether or not to build history.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_get_updraft_data#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\MainWP\Child\UpdraftPlus()">UpdraftPlus()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\MainWP\Child\UpdraftPlus_Options::get_updraft_option()">UpdraftPlus_Options::get_updraft_option()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\MainWP\Child\UpdraftPlus_Filesystem_Functions::really_is_writable()">UpdraftPlus_Filesystem_Functions::really_is_writable()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>\MainWP\Child\MainWP_Helper::instance()->check_methods()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\MainWP\Child\MainWP_Helper::MainWP_Helper">MainWP_Helper::MainWP_Helper</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_build_historystatus"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::build_historystatus()">MainWP_Child_Updraft_Plus_Backups::build_historystatus()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_last_backup_html"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::last_backup_html()">MainWP_Child_Updraft_Plus_Backups::last_backup_html()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_action"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::action()">MainWP_Child_Updraft_Plus_Backups::action()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_get_sync_data"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::get_sync_data()">MainWP_Child_Updraft_Plus_Backups::get_sync_data()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_gzopen_for_read">
|
|
gzopen_for_read()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_gzopen_for_read" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">2916</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.2916" class="phpdocumentor-element-found-in__source" data-line="2916" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Gzip open.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">gzopen_for_read</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$file</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__reference-operator">&</span><span class="phpdocumentor-signature__argument__name">$warn</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__reference-operator">&</span><span class="phpdocumentor-signature__argument__name">$err</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool|false|resource</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$file</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>File to open.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$warn</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Warning message.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$err</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Error message.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_gzopen_for_read#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_analyse_db_file_old"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::analyse_db_file_old()">MainWP_Child_Updraft_Plus_Backups::analyse_db_file_old()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_analyse_db_file"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::analyse_db_file()">MainWP_Child_Updraft_Plus_Backups::analyse_db_file()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">bool|false|resource</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Return FALSE on failure or $what_to_return the unziped file.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_last_backup_html">
|
|
last_backup_html()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_last_backup_html" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1203</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.1203" class="phpdocumentor-element-found-in__source" data-line="1203" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Last backup html.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">last_backup_html</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, mixed></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_last_backup_html#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\MainWP\Child\UpdraftPlus_Options::get_updraft_option()">UpdraftPlus_Options::get_updraft_option()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::backups_dir_location()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_action"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::action()">MainWP_Child_Updraft_Plus_Backups::action()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_get_updraft_data"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::get_updraft_data()">MainWP_Child_Updraft_Plus_Backups::get_updraft_data()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, mixed></span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Return last backup log text & backup time.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_log_button">
|
|
log_button()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_log_button" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">3407</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.3407" class="phpdocumentor-element-found-in__source" data-line="3407" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Log button.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">log_button</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$backup</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$backup</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Backup data array.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_log_button#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::backups_dir_location()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\MainWP\Child\UpdraftPlus_Options::admin_page()">UpdraftPlus_Options::admin_page()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_existing_backup_table"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::existing_backup_table()">MainWP_Child_Updraft_Plus_Backups::existing_backup_table()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$ret Log button html.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_next_scheduled_backups">
|
|
next_scheduled_backups()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_next_scheduled_backups" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1367</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.1367" class="phpdocumentor-element-found-in__source" data-line="1367" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get next scheduled backup.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">next_scheduled_backups</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, mixed></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_next_scheduled_backups#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">throws</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Exception.html"><abbr title="\MainWP\Child\MainWP_Exception">MainWP_Exception</abbr></a></span>
|
|
|
|
<section class="phpdocumentor-description"><p>Error message.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\MainWP\Child\UpdraftPlus_Options::get_updraft_option()">UpdraftPlus_Options::get_updraft_option()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>\MainWP\Child\MainWP_Helper::instance()->check_classes_exists()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>\MainWP\Child\MainWP_Helper::instance()->check_methods()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_action"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::action()">MainWP_Child_Updraft_Plus_Backups::action()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, mixed></span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$out Return Next scheduled backup data.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_print_active_job">
|
|
print_active_job()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_print_active_job" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">3728</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.3728" class="phpdocumentor-element-found-in__source" data-line="3728" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Display active job.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">print_active_job</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$job_id</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$is_oneshot</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">false</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$time</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">false</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$next_resumption</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">false</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$job_id</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Job ID.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$is_oneshot</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">false</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Whether or not this is a one time backup.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$time</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">false</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Backup time.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$next_resumption</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">false</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Next backups resumption.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_print_active_job#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::jobdata_getarray()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::get_backupable_file_entities()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_print_active_jobs"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::print_active_jobs()">MainWP_Child_Updraft_Plus_Backups::print_active_jobs()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Active job html.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_print_active_jobs">
|
|
print_active_jobs()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_print_active_jobs" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">3686</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.3686" class="phpdocumentor-element-found-in__source" data-line="3686" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Display active jobs.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">print_active_jobs</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$this_job_only</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">false</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>A value for $this_job_only also causes something to always be returned
|
|
(to allow detection of the job having started on the front-end).</p>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$this_job_only</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">false</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_print_active_jobs#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_get_cron"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::get_cron()">MainWP_Child_Updraft_Plus_Backups::get_cron()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_print_active_job"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::print_active_job()">MainWP_Child_Updraft_Plus_Backups::print_active_job()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$ret Return active jobs html.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_rebuild_backup_history">
|
|
rebuild_backup_history()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_rebuild_backup_history" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">3443</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.3443" class="phpdocumentor-element-found-in__source" data-line="3443" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Rebuild backup history.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">rebuild_backup_history</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$remotescan</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">false</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, mixed>|null</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$remotescan</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">false</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>TRUE|FALSE Remote scan.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_rebuild_backup_history#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus::rebuild_backup_history()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$updraftplus_admin::rebuild_backup_history()</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_historystatus"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::historystatus()">MainWP_Child_Updraft_Plus_Backups::historystatus()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, mixed>|null</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$messages Return backup history or Null.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_recursive_directory_size">
|
|
recursive_directory_size()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_recursive_directory_size" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">3543</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.3543" class="phpdocumentor-element-found-in__source" data-line="3543" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Recursively get directory sizes.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">recursive_directory_size</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$directorieses</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$exclude</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">array()</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$basedirs</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">''</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>If $basedirs is passed as an array, then $directorieses must be too.</p>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$directorieses</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Directories to size.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$exclude</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">array()</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Directories to exclude.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$basedirs</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">''</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Base directories.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_recursive_directory_size#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_recursive_directory_size_raw"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::recursive_directory_size_raw()">MainWP_Child_Updraft_Plus_Backups::recursive_directory_size_raw()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_diskspaceused"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::diskspaceused()">MainWP_Child_Updraft_Plus_Backups::diskspaceused()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Return total size.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_recursive_directory_size_raw">
|
|
recursive_directory_size_raw()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_recursive_directory_size_raw" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">3596</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.3596" class="phpdocumentor-element-found-in__source" data-line="3596" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Recursivly get raw directory sizes.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">recursive_directory_size_raw</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$prefix_directory</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__reference-operator">&</span><span class="phpdocumentor-signature__argument__name">$exclude</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">array()</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$suffix_directory</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">''</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">false|int</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$prefix_directory</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Directory prefix.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$exclude</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">array()</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Directories to exclude.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$suffix_directory</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">''</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Directory suffix.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_recursive_directory_size_raw#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_recursive_directory_size_raw"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::recursive_directory_size_raw()">MainWP_Child_Updraft_Plus_Backups::recursive_directory_size_raw()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_recursive_directory_size"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::recursive_directory_size()">MainWP_Child_Updraft_Plus_Backups::recursive_directory_size()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_recursive_directory_size_raw"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::recursive_directory_size_raw()">MainWP_Child_Updraft_Plus_Backups::recursive_directory_size_raw()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">false|int</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Return $size Raw Directory size or FALSE on failure.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_restore_button">
|
|
restore_button()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_restore_button" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">3161</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.3161" class="phpdocumentor-element-found-in__source" data-line="3161" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Restore button.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">restore_button</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$key</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$entities</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$key</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Timestamp.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$entities</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Backup entities.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_restore_button#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">used-by</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_existing_backup_table"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::existing_backup_table()">MainWP_Child_Updraft_Plus_Backups::existing_backup_table()</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$ret Restore button html.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_vault_connect">
|
|
vault_connect()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_vault_connect" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-updraft-plus-backups.php"><a href="files/class-class-mainwp-child-updraft-plus-backups.html"><abbr title="class/class-mainwp-child-updraft-plus-backups.php">class-mainwp-child-updraft-plus-backups.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">423</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#source-view.423" class="phpdocumentor-element-found-in__source" data-line="423" data-modal="source-view" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Connect to UpdraftPlus Vault.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">vault_connect</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$email</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><abbr title="\MainWP\Child\strign">strign</abbr> </span><span class="phpdocumentor-signature__argument__name">$password</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool|<abbr title="\MainWP\Child\WP_Error">WP_Error</abbr></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$email</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Vault account user name.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$password</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\MainWP\Child\strign">strign</abbr></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Vault account password.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_vault_connect#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\MainWP\Child\UpdraftPlus_Options::get_updraft_option()">UpdraftPlus_Options::get_updraft_option()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\MainWP\Child\UpdraftPlus_Options::update_updraft_option()">UpdraftPlus_Options::update_updraft_option()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">uses</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\WP_Error()">WP_Error()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">bool|<abbr title="\MainWP\Child\WP_Error">WP_Error</abbr></span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$return Returns either true (in which case the Vault token will be stored), or false|\WP_Error.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
</section>
|
|
|
|
<div class="phpdocumentor-modal" id="source-view">
|
|
<div class="phpdocumentor-modal-bg" data-exit-button></div>
|
|
<div class="phpdocumentor-modal-container">
|
|
<div class="phpdocumentor-modal-content">
|
|
<pre style="max-height: 500px; overflow-y: scroll" data-src="files/class/class-mainwp-child-updraft-plus-backups.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
|
|
</div>
|
|
<button data-exit-button class="phpdocumentor-modal__close">×</button>
|
|
</div>
|
|
</div>
|
|
|
|
<script type="text/javascript">
|
|
(function () {
|
|
function loadExternalCodeSnippet(el, url, line) {
|
|
Array.prototype.slice.call(el.querySelectorAll('pre[data-src]')).forEach((pre) => {
|
|
const src = url || pre.getAttribute('data-src').replace(/\\/g, '/');
|
|
const language = 'php';
|
|
|
|
const code = document.createElement('code');
|
|
code.className = 'language-' + language;
|
|
pre.textContent = '';
|
|
pre.setAttribute('data-line', line)
|
|
code.textContent = 'Loading…';
|
|
pre.appendChild(code);
|
|
|
|
var xhr = new XMLHttpRequest();
|
|
|
|
xhr.open('GET', src, true);
|
|
|
|
xhr.onreadystatechange = function () {
|
|
if (xhr.readyState !== 4) {
|
|
return;
|
|
}
|
|
|
|
if (xhr.status < 400 && xhr.responseText) {
|
|
code.textContent = xhr.responseText;
|
|
Prism.highlightElement(code);
|
|
return;
|
|
}
|
|
|
|
if (xhr.status === 404) {
|
|
code.textContent = '✖ Error: File could not be found';
|
|
return;
|
|
}
|
|
|
|
if (xhr.status >= 400) {
|
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
|
return;
|
|
}
|
|
|
|
code.textContent = '✖ Error: An unknown error occurred';
|
|
};
|
|
|
|
xhr.send(null);
|
|
});
|
|
}
|
|
|
|
const modalButtons = document.querySelectorAll("[data-modal]");
|
|
const openedAsLocalFile = window.location.protocol === 'file:';
|
|
if (modalButtons.length > 0 && openedAsLocalFile) {
|
|
console.warn(
|
|
'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
|
|
'browsers block XHR requests when a page is opened this way'
|
|
);
|
|
}
|
|
|
|
modalButtons.forEach(function (trigger) {
|
|
if (openedAsLocalFile) {
|
|
trigger.setAttribute("hidden", "hidden");
|
|
}
|
|
|
|
trigger.addEventListener("click", function (event) {
|
|
event.preventDefault();
|
|
const modal = document.getElementById(trigger.dataset.modal);
|
|
if (!modal) {
|
|
console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
|
|
return;
|
|
}
|
|
modal.classList.add("phpdocumentor-modal__open");
|
|
|
|
loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
|
|
const exits = modal.querySelectorAll("[data-exit-button]");
|
|
exits.forEach(function (exit) {
|
|
exit.addEventListener("click", function (event) {
|
|
event.preventDefault();
|
|
modal.classList.remove("phpdocumentor-modal__open");
|
|
});
|
|
});
|
|
});
|
|
});
|
|
})();
|
|
</script>
|
|
|
|
</article>
|
|
</section>
|
|
<section class="phpdocumentor-on-this-page__sidebar">
|
|
|
|
<section class="phpdocumentor-on-this-page__content">
|
|
<strong class="phpdocumentor-on-this-page__title">On this page</strong>
|
|
|
|
<ul class="phpdocumentor-list -clean">
|
|
<li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
|
|
<li>
|
|
<ul class="phpdocumentor-list -clean">
|
|
<li><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#toc-properties">Properties</a></li>
|
|
<li><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#toc-methods">Methods</a></li>
|
|
</ul>
|
|
</li>
|
|
|
|
<li class="phpdocumentor-on-this-page-section__title">Properties</li>
|
|
<li>
|
|
<ul class="phpdocumentor-list -clean">
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#property_instance">$instance</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#property_is_plugin_installed">$is_plugin_installed</a></li>
|
|
</ul>
|
|
</li>
|
|
|
|
<li class="phpdocumentor-on-this-page-section__title">Methods</li>
|
|
<li>
|
|
<ul class="phpdocumentor-list -clean">
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method___construct">__construct()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_action">action()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_activejobs_list">activejobs_list()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_addons2_get_option">addons2_get_option()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_addons2_update_option">addons2_update_option()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_addons_connect">addons_connect()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_all_plugins">all_plugins()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_analyse_db_file">analyse_db_file()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_backup_now">backup_now()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_build_historystatus">build_historystatus()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_close_browser_connection">close_browser_connection()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_diskspaceused">diskspaceused()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_extradb_testconnection">extradb_testconnection()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_fetch_log">fetch_log()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_get_sync_data">get_sync_data()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_hide_update_notice">hide_update_notice()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_historystatus">historystatus()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_hook_updraft_plus_save_last_backup">hook_updraft_plus_save_last_backup()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_instance">instance()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_options_validate">options_validate()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_prune_updraft_dir_prefix">prune_updraft_dir_prefix()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_remove_filters_for_anonymous_class">remove_filters_for_anonymous_class()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_remove_menu">remove_menu()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_remove_notices">remove_notices()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_remove_update_nag">remove_update_nag()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_replace_tokens">replace_tokens()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_required_files">required_files()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_restore_alldownloaded">restore_alldownloaded()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_save_settings">save_settings()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_set_showhide">set_showhide()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_show_admin_warning">show_admin_warning()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_sync_others_data">sync_others_data()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_update_wpmu_options">update_wpmu_options()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_updraft_download_backup">updraft_download_backup()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_updraftplus_init">updraftplus_init()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_vault_disconnect">vault_disconnect()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_wp_before_admin_bar_render">wp_before_admin_bar_render()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_activejobs_delete">activejobs_delete()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_analyse_db_file_old">analyse_db_file_old()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_cb_get_name_base_type">cb_get_name_base_type()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_connected_html">connected_html()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_date_label">date_label()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_delete_button">delete_button()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_delete_old_dirs">delete_old_dirs()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_delete_old_dirs_dir">delete_old_dirs_dir()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_delete_old_dirs_go">delete_old_dirs_go()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_deleteset">deleteset()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_do_vault_connect">do_vault_connect()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_download_button">download_button()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_download_buttons">download_buttons()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_download_db_button">download_db_button()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_download_file">download_file()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_download_status">download_status()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_existing_backup_table">existing_backup_table()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_fetch_updraft_log">fetch_updraft_log()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_force_scheduled_resumption">force_scheduled_resumption()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_get_cron">get_cron()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_get_settings_keys">get_settings_keys()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_get_updraft_data">get_updraft_data()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_gzopen_for_read">gzopen_for_read()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_last_backup_html">last_backup_html()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_log_button">log_button()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_next_scheduled_backups">next_scheduled_backups()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_print_active_job">print_active_job()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_print_active_jobs">print_active_jobs()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_rebuild_backup_history">rebuild_backup_history()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_recursive_directory_size">recursive_directory_size()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_recursive_directory_size_raw">recursive_directory_size_raw()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_restore_button">restore_button()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_vault_connect">vault_connect()</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
|
|
</section>
|
|
</div>
|
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
|
<section class="phpdocumentor-search-results__dialog">
|
|
<header class="phpdocumentor-search-results__header">
|
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
|
</header>
|
|
<section class="phpdocumentor-search-results__body">
|
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
|
</section>
|
|
</section>
|
|
</section>
|
|
</div>
|
|
<a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
|
|
|
</main>
|
|
|
|
<script>
|
|
cssVars({});
|
|
</script>
|
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
|
|
</body>
|
|
</html>
|