mainwp.dev/deploy-test/source-code/child/classes/MainWP-Child-MainWP-Child-Updates.html

2491 lines
138 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_Updates
<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-Child.html">Child</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-updates.php"><a href="files/class-class-mainwp-child-updates.html"><abbr title="class/class-mainwp-child-updates.php">class-mainwp-child-updates.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">19</span>
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#source-view.19" class="phpdocumentor-element-found-in__source" data-line="19" data-modal="source-view" data-src="files/class/class-mainwp-child-updates.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Class MainWP_Child_Updates</p>
<section class="phpdocumentor-description"><p>Manage updates on the site.</p>
</section>
<h3 id="toc">
Table of Contents
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
</h3>
<h4 id="toc-properties">
Properties
<a href="classes/MainWP-Child-MainWP-Child-Updates.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 -protected">
<a class="" href="classes/MainWP-Child-MainWP-Child-Updates.html#property_instance">$instance</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Public static variable to hold the single instance of the class.</dd>
<dt class="phpdocumentor-table-of-contents__entry -property -private">
<a class="" href="classes/MainWP-Child-MainWP-Child-Updates.html#property_filterFunction">$filterFunction</a>
<span>
&nbsp;: object </span>
</dt>
<dd>Private variable to filter update transients without last_checked and checked fields.</dd>
</dl>
<h4 id="toc-methods">
Methods
<a href="classes/MainWP-Child-MainWP-Child-Updates.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-Updates.html#method___construct">__construct()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>MainWP_Child_Updates constructor.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Child-Updates.html#method_detect_premium_themesplugins_updates">detect_premium_themesplugins_updates()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method detect_premium_themesplugins_updates()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Child-Updates.html#method_enable_pre_auto_rollback_hooking">enable_pre_auto_rollback_hooking()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method enable_pre_auto_rollback_hooking().</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Child-Updates.html#method_get_class_name">get_class_name()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Method get_class_name()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Child-Updates.html#method_get_instance">get_instance()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method get_instance()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Child-Updates.html#method_hook_fix_optimize_press_theme_update">hook_fix_optimize_press_theme_update()</a>
<span>
&nbsp;: object </span>
</dt>
<dd>Method hook_fix_optimize_press_theme_update()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Child-Updates.html#method_set_cached_update_plugins">set_cached_update_plugins()</a>
<span>
&nbsp;: object </span>
</dt>
<dd>Method set_cached_update_plugins()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Child-Updates.html#method_set_cached_update_themes">set_cached_update_themes()</a>
<span>
&nbsp;: object </span>
</dt>
<dd>Method set_cached_update_themes()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Child-Updates.html#method_upgrade_get_theme_updates">upgrade_get_theme_updates()</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dd>Method upgrade_get_theme_updates()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Child-Updates.html#method_upgrade_plugin_theme">upgrade_plugin_theme()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method upgrade_plugin_theme()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Child-Updates.html#method_upgrade_translation">upgrade_translation()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method upgrade_translation()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Child-Updates.html#method_upgrade_wp">upgrade_wp()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method upgrade_wp()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Child-Updates.html#method_upgrader_auto_rollback_hooking">upgrader_auto_rollback_hooking()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method upgrader_auto_rollback_hooking().</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -private">
<a class="" href="classes/MainWP-Child-MainWP-Child-Updates.html#method_check_core_updater_locked">check_core_updater_locked()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Method check_core_updater_locked()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -private">
<a class="" href="classes/MainWP-Child-MainWP-Child-Updates.html#method_check_update_requires">check_update_requires()</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dd>Method check_update_requires()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -private">
<a class="" href="classes/MainWP-Child-MainWP-Child-Updates.html#method_do_upgrade_wp">do_upgrade_wp()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method do_upgrade_wp()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -private">
<a class="" href="classes/MainWP-Child-MainWP-Child-Updates.html#method_include_updates">include_updates()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method include_updates()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -private">
<a class="" href="classes/MainWP-Child-MainWP-Child-Updates.html#method_to_support_some_premiums_updates">to_support_some_premiums_updates()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method to_support_some_premiums_updates()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -private">
<a class="" href="classes/MainWP-Child-MainWP-Child-Updates.html#method_to_update_plugins">to_update_plugins()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method to_update_plugins()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -private">
<a class="" href="classes/MainWP-Child-MainWP-Child-Updates.html#method_to_upgrade_themes">to_upgrade_themes()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method to_upgrade_themes()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -private">
<a class="" href="classes/MainWP-Child-MainWP-Child-Updates.html#method_update_premiums_to_do">update_premiums_to_do()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method update_premiums_to_do()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -private">
<a class="" href="classes/MainWP-Child-MainWP-Child-Updates.html#method_upgrade_plugin">upgrade_plugin()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method upgrade_plugin()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -private">
<a class="" href="classes/MainWP-Child-MainWP-Child-Updates.html#method_upgrade_theme">upgrade_theme()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method upgrade_theme()</dd>
</dl>
<section class="phpdocumentor-properties">
<h3 class="phpdocumentor-elements__header" id="properties">
Properties
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
</h3>
<article
class="
phpdocumentor-element
-property
-protected
-static "
>
<h4 class="phpdocumentor-element__name" id="property_instance">
$instance
<a href="classes/MainWP-Child-MainWP-Child-Updates.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-updates.php"><a href="files/class-class-mainwp-child-updates.html"><abbr title="class/class-mainwp-child-updates.php">class-mainwp-child-updates.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">26</span>
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#source-view.26" class="phpdocumentor-element-found-in__source" data-line="26" data-modal="source-view" data-src="files/class/class-mainwp-child-updates.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Public static variable to hold the single instance of the class.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">protected</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
-private
"
>
<h4 class="phpdocumentor-element__name" id="property_filterFunction">
$filterFunction
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#property_filterFunction" 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-updates.php"><a href="files/class-class-mainwp-child-updates.html"><abbr title="class/class-mainwp-child-updates.php">class-mainwp-child-updates.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">33</span>
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#source-view.33" class="phpdocumentor-element-found-in__source" data-line="33" data-modal="source-view" data-src="files/class/class-mainwp-child-updates.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Private variable to filter update transients without last_checked and checked fields.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__type">object</span>
<span class="phpdocumentor-signature__name">$filterFunction</span>
= <span class="phpdocumentor-signature__default-value">null</span></code>
<section class="phpdocumentor-description"><p>Filter update transients.</p>
</section>
</article>
</section>
<section class="phpdocumentor-methods">
<h3 class="phpdocumentor-elements__header" id="methods">
Methods
<a href="classes/MainWP-Child-MainWP-Child-Updates.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-Updates.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-updates.php"><a href="files/class-class-mainwp-child-updates.html"><abbr title="class/class-mainwp-child-updates.php">class-mainwp-child-updates.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">52</span>
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#source-view.52" class="phpdocumentor-element-found-in__source" data-line="52" data-modal="source-view" data-src="files/class/class-mainwp-child-updates.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">MainWP_Child_Updates 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_detect_premium_themesplugins_updates">
detect_premium_themesplugins_updates()
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_detect_premium_themesplugins_updates" 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-updates.php"><a href="files/class-class-mainwp-child-updates.html"><abbr title="class/class-mainwp-child-updates.php">class-mainwp-child-updates.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1091</span>
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#source-view.1091" class="phpdocumentor-element-found-in__source" data-line="1091" data-modal="source-view" data-src="files/class/class-mainwp-child-updates.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method detect_premium_themesplugins_updates()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">detect_premium_themesplugins_updates</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>Detect premium plugins and themes updates.</p>
</section>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_detect_premium_themesplugins_updates#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\get_site_transient()">get_site_transient()</abbr></span>
<section class="phpdocumentor-description"><p>Retrieves the value of a site transient.</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\set_site_transient()">set_site_transient()</abbr></span>
<section class="phpdocumentor-description"><p>Sets/updates the value of a site transient.</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-Callable.html#method_is_callable_function"><abbr title="\MainWP\Child\MainWP_Child_Callable::is_callable_function()">MainWP_Child_Callable::is_callable_function()</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-Callable.html#method_call_function"><abbr title="\MainWP\Child\MainWP_Child_Callable::call_function()">MainWP_Child_Callable::call_function()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">see</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="https://developer.wordpress.org/reference/functions/get_site_transient/">https://developer.wordpress.org/reference/functions/get_site_transient/</a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">see</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="https://developer.wordpress.org/reference/functions/set_site_transient/">https://developer.wordpress.org/reference/functions/set_site_transient/</a></span>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_enable_pre_auto_rollback_hooking">
enable_pre_auto_rollback_hooking()
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_enable_pre_auto_rollback_hooking" 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-updates.php"><a href="files/class-class-mainwp-child-updates.html"><abbr title="class/class-mainwp-child-updates.php">class-mainwp-child-updates.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1400</span>
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#source-view.1400" class="phpdocumentor-element-found-in__source" data-line="1400" data-modal="source-view" data-src="files/class/class-mainwp-child-updates.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method enable_pre_auto_rollback_hooking().</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">enable_pre_auto_rollback_hooking</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
-static "
>
<h4 class="phpdocumentor-element__name" id="method_get_class_name">
get_class_name()
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_get_class_name" 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-updates.php"><a href="files/class-class-mainwp-child-updates.html"><abbr title="class/class-mainwp-child-updates.php">class-mainwp-child-updates.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">43</span>
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#source-view.43" class="phpdocumentor-element-found-in__source" data-line="43" data-modal="source-view" data-src="files/class/class-mainwp-child-updates.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method get_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">get_class_name</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>Get class name.</p>
</section>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string</span>
&mdash;
<section class="phpdocumentor-description"><p><strong>CLASS</strong> Class name.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_get_instance">
get_instance()
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_get_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-updates.php"><a href="files/class-class-mainwp-child-updates.html"><abbr title="class/class-mainwp-child-updates.php">class-mainwp-child-updates.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">71</span>
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#source-view.71" class="phpdocumentor-element-found-in__source" data-line="71" data-modal="source-view" data-src="files/class/class-mainwp-child-updates.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method get_instance()</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">get_instance</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>Create a public static instance.</p>
</section>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_get_instance#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-Stats.html#method_stats_theme_update"><abbr title="\MainWP\Child\MainWP_Child_Stats::stats_theme_update()">MainWP_Child_Stats::stats_theme_update()</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.html#method___construct"><abbr title="\MainWP\Child\MainWP_Child::__construct()">MainWP_Child::__construct()</abbr></a></span>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">mixed</span>
&mdash;
<section class="phpdocumentor-description"><p>Class instance.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_hook_fix_optimize_press_theme_update">
hook_fix_optimize_press_theme_update()
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_hook_fix_optimize_press_theme_update" 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-updates.php"><a href="files/class-class-mainwp-child-updates.html"><abbr title="class/class-mainwp-child-updates.php">class-mainwp-child-updates.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">971</span>
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#source-view.971" class="phpdocumentor-element-found-in__source" data-line="971" data-modal="source-view" data-src="files/class/class-mainwp-child-updates.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method hook_fix_optimize_press_theme_update()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">hook_fix_optimize_press_theme_update</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">object&nbsp;</span><span class="phpdocumentor-signature__argument__name">$transient</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Cutom support for the Optimize Press theme.</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">$transient</span>
: <span class="phpdocumentor-signature__argument__return-type">object</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Object containig the update transient information.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_hook_fix_optimize_press_theme_update#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">
<section class="phpdocumentor-description"><p>MainWP_Child_Update::to_upgrade_themes() Complete the themes update process.</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">object</span>
&mdash;
<section class="phpdocumentor-description"><p>$transient Object containig the update transient information.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_set_cached_update_plugins">
set_cached_update_plugins()
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_set_cached_update_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-updates.php"><a href="files/class-class-mainwp-child-updates.html"><abbr title="class/class-mainwp-child-updates.php">class-mainwp-child-updates.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1016</span>
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#source-view.1016" class="phpdocumentor-element-found-in__source" data-line="1016" data-modal="source-view" data-src="files/class/class-mainwp-child-updates.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method set_cached_update_plugins()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">set_cached_update_plugins</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$false_value</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">object&nbsp;</span><span class="phpdocumentor-signature__argument__name">$_transient_data</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">object</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Support cached premium plugins update info, hooking in the bulk_upgrade().</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">$false_value</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.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$_transient_data</span>
: <span class="phpdocumentor-signature__argument__return-type">object</span>
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Contains the transient data.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_set_cached_update_plugins#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\get_site_transient()">get_site_transient()</abbr></span>
<section class="phpdocumentor-description"><p>Retrieves the value of a site transient.</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">see</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="https://developer.wordpress.org/reference/functions/get_site_transient/">https://developer.wordpress.org/reference/functions/get_site_transient/</a></span>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">object</span>
&mdash;
<section class="phpdocumentor-description"><p>$_transient_data Contains the updated transient data.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_set_cached_update_themes">
set_cached_update_themes()
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_set_cached_update_themes" 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-updates.php"><a href="files/class-class-mainwp-child-updates.html"><abbr title="class/class-mainwp-child-updates.php">class-mainwp-child-updates.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1053</span>
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#source-view.1053" class="phpdocumentor-element-found-in__source" data-line="1053" data-modal="source-view" data-src="files/class/class-mainwp-child-updates.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method set_cached_update_themes()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">set_cached_update_themes</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$false_value</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">object&nbsp;</span><span class="phpdocumentor-signature__argument__name">$_transient_data</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">object</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Support cached premium themes update info, hooking in the bulk_upgrade().</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">$false_value</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.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$_transient_data</span>
: <span class="phpdocumentor-signature__argument__return-type">object</span>
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Contains the transient data.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_set_cached_update_themes#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\get_site_transient()">get_site_transient()</abbr></span>
<section class="phpdocumentor-description"><p>Retrieves the value of a site transient.</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">see</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="https://developer.wordpress.org/reference/functions/get_site_transient/">https://developer.wordpress.org/reference/functions/get_site_transient/</a></span>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">object</span>
&mdash;
<section class="phpdocumentor-description"><p>$_transient_data Contains the updated transient data.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_upgrade_get_theme_updates">
upgrade_get_theme_updates()
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_upgrade_get_theme_updates" 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-updates.php"><a href="files/class-class-mainwp-child-updates.html"><abbr title="class/class-mainwp-child-updates.php">class-mainwp-child-updates.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">942</span>
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#source-view.942" class="phpdocumentor-element-found-in__source" data-line="942" data-modal="source-view" data-src="files/class/class-mainwp-child-updates.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method upgrade_get_theme_updates()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">upgrade_get_theme_updates</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Get theme updates information.</p>
</section>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_upgrade_get_theme_updates#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\get_theme_updates()">get_theme_updates()</abbr></span>
<section class="phpdocumentor-description"><p>The WordPress Core get theme updates function.</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-Helper.html#method_search"><abbr title="\MainWP\Child\MainWP_Helper::search()">MainWP_Helper::search()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">see</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="https://developer.wordpress.org/reference/functions/get_theme_updates/">https://developer.wordpress.org/reference/functions/get_theme_updates/</a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<section class="phpdocumentor-description"><p>\MainWP\Child\MainWP_Child_Updates::upgrade_theme() Execute themes updates.</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-Stats.html#method_stats_theme_update"><abbr title="\MainWP\Child\MainWP_Child_Stats::stats_theme_update()">MainWP_Child_Stats::stats_theme_update()</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-Updates.html#method_upgrade_theme"><abbr title="\MainWP\Child\MainWP_Child_Updates::upgrade_theme()">MainWP_Child_Updates::upgrade_theme()</abbr></a></span>
<section class="phpdocumentor-description"><p>Get theme updates information.</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
&mdash;
<section class="phpdocumentor-description"><p>An array of available theme updates information.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_upgrade_plugin_theme">
upgrade_plugin_theme()
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_upgrade_plugin_theme" 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-updates.php"><a href="files/class-class-mainwp-child-updates.html"><abbr title="class/class-mainwp-child-updates.php">class-mainwp-child-updates.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">113</span>
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#source-view.113" class="phpdocumentor-element-found-in__source" data-line="113" data-modal="source-view" data-src="files/class/class-mainwp-child-updates.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method upgrade_plugin_theme()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">upgrade_plugin_theme</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>Fire off plugins and themes updates and write feedback to the synchronization information.</p>
</section>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_upgrade_plugin_theme#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-Updates.html#method_upgrade_plugin"><abbr title="\MainWP\Child\MainWP_Child_Updates::upgrade_plugin()">MainWP_Child_Updates::upgrade_plugin()</abbr></a></span>
<section class="phpdocumentor-description"><p>Execute plugins updates.</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-Updates.html#method_upgrade_theme"><abbr title="\MainWP\Child\MainWP_Child_Updates::upgrade_theme()">MainWP_Child_Updates::upgrade_theme()</abbr></a></span>
<section class="phpdocumentor-description"><p>Execute themes updates.</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-Stats.html#method_get_site_stats"><abbr title="\MainWP\Child\MainWP_Child_Stats::get_site_stats()">MainWP_Child_Stats::get_site_stats()</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_get_wp_filesystem"><abbr title="\MainWP\Child\MainWP_Helper::get_wp_filesystem()">MainWP_Helper::get_wp_filesystem()</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()-&gt;error()</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-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">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_upgrade_plugin_theme"><abbr title="\MainWP\Child\MainWP_Child_Callable::upgrade_plugin_theme()">MainWP_Child_Callable::upgrade_plugin_theme()</abbr></a></span>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_upgrade_translation">
upgrade_translation()
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_upgrade_translation" 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-updates.php"><a href="files/class-class-mainwp-child-updates.html"><abbr title="class/class-mainwp-child-updates.php">class-mainwp-child-updates.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1319</span>
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#source-view.1319" class="phpdocumentor-element-found-in__source" data-line="1319" data-modal="source-view" data-src="files/class/class-mainwp-child-updates.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method upgrade_translation()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">upgrade_translation</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>Update translations and set feedback to the sync information.</p>
</section>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_upgrade_translation#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-Stats.html#method_get_site_stats"><abbr title="\MainWP\Child\MainWP_Child_Stats::get_site_stats()">MainWP_Child_Stats::get_site_stats()</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">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_upgrade_translation"><abbr title="\MainWP\Child\MainWP_Child_Callable::upgrade_translation()">MainWP_Child_Callable::upgrade_translation()</abbr></a></span>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_upgrade_wp">
upgrade_wp()
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_upgrade_wp" 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-updates.php"><a href="files/class-class-mainwp-child-updates.html"><abbr title="class/class-mainwp-child-updates.php">class-mainwp-child-updates.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1140</span>
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#source-view.1140" class="phpdocumentor-element-found-in__source" data-line="1140" data-modal="source-view" data-src="files/class/class-mainwp-child-updates.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method upgrade_wp()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">upgrade_wp</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>Initiate the WordPress core files update.</p>
</section>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_upgrade_wp#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-Updates.html#method_do_upgrade_wp"><abbr title="\MainWP\Child\MainWP_Child_Updates::do_upgrade_wp()">MainWP_Child_Updates::do_upgrade_wp()</abbr></a></span>
<section class="phpdocumentor-description"><p>Run the WordPress Core update.</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-Helper.html#method_get_wp_filesystem"><abbr title="\MainWP\Child\MainWP_Helper::get_wp_filesystem()">MainWP_Helper::get_wp_filesystem()</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">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_upgrade_wp"><abbr title="\MainWP\Child\MainWP_Child_Callable::upgrade_wp()">MainWP_Child_Callable::upgrade_wp()</abbr></a></span>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_upgrader_auto_rollback_hooking">
upgrader_auto_rollback_hooking()
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_upgrader_auto_rollback_hooking" 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-updates.php"><a href="files/class-class-mainwp-child-updates.html"><abbr title="class/class-mainwp-child-updates.php">class-mainwp-child-updates.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1410</span>
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#source-view.1410" class="phpdocumentor-element-found-in__source" data-line="1410" data-modal="source-view" data-src="files/class/class-mainwp-child-updates.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method upgrader_auto_rollback_hooking().</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">upgrader_auto_rollback_hooking</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;|<abbr title="\MainWP\Child\WP_Error">WP_Error</abbr>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$result</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$hook_extra</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">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">$result</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;|<abbr title="\MainWP\Child\WP_Error">WP_Error</abbr></span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Result from WP_Upgrader::install_package().</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$hook_extra</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">array()</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Extra arguments passed to hooked filters.</p>
</section>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-private
"
>
<h4 class="phpdocumentor-element__name" id="method_check_core_updater_locked">
check_core_updater_locked()
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_check_core_updater_locked" 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-updates.php"><a href="files/class-class-mainwp-child-updates.html"><abbr title="class/class-mainwp-child-updates.php">class-mainwp-child-updates.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1294</span>
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#source-view.1294" class="phpdocumentor-element-found-in__source" data-line="1294" data-modal="source-view" data-src="files/class/class-mainwp-child-updates.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method check_core_updater_locked()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__name">check_core_updater_locked</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Check core updater locked.</p>
</section>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>
&mdash;
<section class="phpdocumentor-description"><p>true locked.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-private
"
>
<h4 class="phpdocumentor-element__name" id="method_check_update_requires">
check_update_requires()
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_check_update_requires" 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-updates.php"><a href="files/class-class-mainwp-child-updates.html"><abbr title="class/class-mainwp-child-updates.php">class-mainwp-child-updates.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">309</span>
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#source-view.309" class="phpdocumentor-element-found-in__source" data-line="309" data-modal="source-view" data-src="files/class/class-mainwp-child-updates.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method check_update_requires()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__name">check_update_requires</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$plugins</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Check update requires.</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">$plugins</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>An array containing plugins to be updated.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_check_update_requires#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 MainWP_Exception.</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
&mdash;
<section class="phpdocumentor-description"><p>An array of available plugins updates.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-private
"
>
<h4 class="phpdocumentor-element__name" id="method_do_upgrade_wp">
do_upgrade_wp()
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_do_upgrade_wp" 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-updates.php"><a href="files/class-class-mainwp-child-updates.html"><abbr title="class/class-mainwp-child-updates.php">class-mainwp-child-updates.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1221</span>
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#source-view.1221" class="phpdocumentor-element-found-in__source" data-line="1221" data-modal="source-view" data-src="files/class/class-mainwp-child-updates.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method do_upgrade_wp()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__name">do_upgrade_wp</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__reference-operator">&amp;</span><span class="phpdocumentor-signature__argument__name">$information</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 the WordPress Core update.</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">$information</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>An array containing the synchronization information.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_do_upgrade_wp#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">
<section class="phpdocumentor-description"><p>MainWP_Child_Updates::upgrade_wp() Initiate the WordPress core files update.</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-Updates.html#method_upgrade_wp"><abbr title="\MainWP\Child\MainWP_Child_Updates::upgrade_wp()">MainWP_Child_Updates::upgrade_wp()</abbr></a></span>
<section class="phpdocumentor-description"><p>Run the WordPress Core update.</p>
</section>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-private
"
>
<h4 class="phpdocumentor-element__name" id="method_include_updates">
include_updates()
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_include_updates" 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-updates.php"><a href="files/class-class-mainwp-child-updates.html"><abbr title="class/class-mainwp-child-updates.php">class-mainwp-child-updates.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">84</span>
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#source-view.84" class="phpdocumentor-element-found-in__source" data-line="84" data-modal="source-view" data-src="files/class/class-mainwp-child-updates.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method include_updates()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__name">include_updates</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>Include WP Core files required for performing updates.</p>
</section>
</article>
<article
class="phpdocumentor-element
-method
-private
"
>
<h4 class="phpdocumentor-element__name" id="method_to_support_some_premiums_updates">
to_support_some_premiums_updates()
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_to_support_some_premiums_updates" 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-updates.php"><a href="files/class-class-mainwp-child-updates.html"><abbr title="class/class-mainwp-child-updates.php">class-mainwp-child-updates.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">911</span>
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#source-view.911" class="phpdocumentor-element-found-in__source" data-line="911" data-modal="source-view" data-src="files/class/class-mainwp-child-updates.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method to_support_some_premiums_updates()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__name">to_support_some_premiums_updates</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$plugins</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>Custom support for some premium plugins.</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">$plugins</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>An array containing installed plugins information.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_to_support_some_premiums_updates#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">
<section class="phpdocumentor-description"><p>MainWP_Child_Updates::upgrade_plugin() Initiate the plugin update process.</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-Updates.html#method_upgrade_plugin"><abbr title="\MainWP\Child\MainWP_Child_Updates::upgrade_plugin()">MainWP_Child_Updates::upgrade_plugin()</abbr></a></span>
<section class="phpdocumentor-description"><p>Custom support for some premium plugins.</p>
</section>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-private
"
>
<h4 class="phpdocumentor-element__name" id="method_to_update_plugins">
to_update_plugins()
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_to_update_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-updates.php"><a href="files/class-class-mainwp-child-updates.html"><abbr title="class/class-mainwp-child-updates.php">class-mainwp-child-updates.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">368</span>
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#source-view.368" class="phpdocumentor-element-found-in__source" data-line="368" data-modal="source-view" data-src="files/class/class-mainwp-child-updates.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method to_update_plugins()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__name">to_update_plugins</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__reference-operator">&amp;</span><span class="phpdocumentor-signature__argument__name">$information</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$plugins</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>Complete the plugins update process.</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">$information</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>An array containing the synchronization information.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$plugins</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>An array containing plugins to be updated.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_to_update_plugins#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>\MainWP\Child\MainWP_Helper::instance()-&gt;error()</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<section class="phpdocumentor-description"><p>MainWP_Child_Updates::upgrade_plugin() Initiate the plugin update process.</p>
</section>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-private
"
>
<h4 class="phpdocumentor-element__name" id="method_to_upgrade_themes">
to_upgrade_themes()
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_to_upgrade_themes" 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-updates.php"><a href="files/class-class-mainwp-child-updates.html"><abbr title="class/class-mainwp-child-updates.php">class-mainwp-child-updates.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">566</span>
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#source-view.566" class="phpdocumentor-element-found-in__source" data-line="566" data-modal="source-view" data-src="files/class/class-mainwp-child-updates.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method to_upgrade_themes()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__name">to_upgrade_themes</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__reference-operator">&amp;</span><span class="phpdocumentor-signature__argument__name">$information</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$themes</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$last_update</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>Complete the themes update process.</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">$information</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>An array containing the synchronization information.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$themes</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>An array containing themes to be updated.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$last_update</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Contains the last update timestamp.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_to_upgrade_themes#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\get_site_transient()">get_site_transient()</abbr></span>
<section class="phpdocumentor-description"><p>Retrieves the value of a site transient.</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\set_site_transient()">set_site_transient()</abbr></span>
<section class="phpdocumentor-description"><p>Sets/updates the value of a site transient.</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()-&gt;error()</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">see</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="https://developer.wordpress.org/reference/functions/get_site_transient/">https://developer.wordpress.org/reference/functions/get_site_transient/</a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">see</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="https://developer.wordpress.org/reference/functions/set_site_transient/">https://developer.wordpress.org/reference/functions/set_site_transient/</a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<section class="phpdocumentor-description"><p>\MainWP\Child\MainWP_Child_Updates::upgrade_theme() Initiate the theme update process.</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-Updates.html#method_upgrade_theme"><abbr title="\MainWP\Child\MainWP_Child_Updates::upgrade_theme()">MainWP_Child_Updates::upgrade_theme()</abbr></a></span>
<section class="phpdocumentor-description"><p>Complete the themes update process.</p>
</section>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-private
"
>
<h4 class="phpdocumentor-element__name" id="method_update_premiums_to_do">
update_premiums_to_do()
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_update_premiums_to_do" 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-updates.php"><a href="files/class-class-mainwp-child-updates.html"><abbr title="class/class-mainwp-child-updates.php">class-mainwp-child-updates.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">680</span>
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#source-view.680" class="phpdocumentor-element-found-in__source" data-line="680" data-modal="source-view" data-src="files/class/class-mainwp-child-updates.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method update_premiums_to_do()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__name">update_premiums_to_do</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__reference-operator">&amp;</span><span class="phpdocumentor-signature__argument__name">$information</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$premiumUpgrader</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$mwp_premium_updates_to_do</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$mwp_premium_updates_to_do_slugs</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>Update premium plugins.</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">$information</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>An array containing the synchronization information.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$premiumUpgrader</span>
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>If true, use premium upgrader.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$mwp_premium_updates_to_do</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>An array containing the list of premium themes to update.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$mwp_premium_updates_to_do_slugs</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>An array containing the list of premium themes slugs to update.</p>
</section>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-private
"
>
<h4 class="phpdocumentor-element__name" id="method_upgrade_plugin">
upgrade_plugin()
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_upgrade_plugin" 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-updates.php"><a href="files/class-class-mainwp-child-updates.html"><abbr title="class/class-mainwp-child-updates.php">class-mainwp-child-updates.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">206</span>
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#source-view.206" class="phpdocumentor-element-found-in__source" data-line="206" data-modal="source-view" data-src="files/class/class-mainwp-child-updates.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method upgrade_plugin()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__name">upgrade_plugin</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__reference-operator">&amp;</span><span class="phpdocumentor-signature__argument__name">$information</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__reference-operator">&amp;</span><span class="phpdocumentor-signature__argument__name">$mwp_premium_updates_to_do</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__reference-operator">&amp;</span><span class="phpdocumentor-signature__argument__name">$mwp_premium_updates_to_do_slugs</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__reference-operator">&amp;</span><span class="phpdocumentor-signature__argument__name">$premiumUpgrader</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>Initiate the plugin update process.</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">$information</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>An array containing the synchronization information.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$mwp_premium_updates_to_do</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>An array containing the list of premium plugins to update.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$mwp_premium_updates_to_do_slugs</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>An array containing the list of premium plugins slugs to update.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$premiumUpgrader</span>
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>If true, use premium upgrader.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_upgrade_plugin#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_Updates::to_upgrade_plugins()">MainWP_Child_Updates::to_upgrade_plugins()</abbr></span>
<section class="phpdocumentor-description"><p>Complete the plugins update process.</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-Updates.html#method_to_support_some_premiums_updates"><abbr title="\MainWP\Child\MainWP_Child_Updates::to_support_some_premiums_updates()">MainWP_Child_Updates::to_support_some_premiums_updates()</abbr></a></span>
<section class="phpdocumentor-description"><p>Custom support for some premium plugins.</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()-&gt;error()</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\get_plugin_updates()">get_plugin_updates()</abbr></span>
<section class="phpdocumentor-description"><p>The WordPress Core get plugin updates function.</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">see</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="https://developer.wordpress.org/reference/functions/get_plugin_updates/">https://developer.wordpress.org/reference/functions/get_plugin_updates/</a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<section class="phpdocumentor-description"><p>MainWP_Child_Updates::upgrade_plugin_theme() Fire off plugins and themes updates and write feedback to the synchronization information.</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-Updates.html#method_upgrade_plugin_theme"><abbr title="\MainWP\Child\MainWP_Child_Updates::upgrade_plugin_theme()">MainWP_Child_Updates::upgrade_plugin_theme()</abbr></a></span>
<section class="phpdocumentor-description"><p>Execute plugins updates.</p>
</section>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-private
"
>
<h4 class="phpdocumentor-element__name" id="method_upgrade_theme">
upgrade_theme()
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_upgrade_theme" 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-updates.php"><a href="files/class-class-mainwp-child-updates.html"><abbr title="class/class-mainwp-child-updates.php">class-mainwp-child-updates.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">480</span>
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#source-view.480" class="phpdocumentor-element-found-in__source" data-line="480" data-modal="source-view" data-src="files/class/class-mainwp-child-updates.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method upgrade_theme()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__name">upgrade_theme</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__reference-operator">&amp;</span><span class="phpdocumentor-signature__argument__name">$information</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__reference-operator">&amp;</span><span class="phpdocumentor-signature__argument__name">$mwp_premium_updates_to_do</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__reference-operator">&amp;</span><span class="phpdocumentor-signature__argument__name">$mwp_premium_updates_to_do_slugs</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__reference-operator">&amp;</span><span class="phpdocumentor-signature__argument__name">$premiumUpgrader</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>Execute themes updates.</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">$information</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>An array containing the synchronization information.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$mwp_premium_updates_to_do</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>An array containing the list of premium themes to update.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$mwp_premium_updates_to_do_slugs</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>An array containing the list of premium themes slugs to update.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$premiumUpgrader</span>
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>If true, use premium upgrader.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_upgrade_theme#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-Updates.html#method_to_upgrade_themes"><abbr title="\MainWP\Child\MainWP_Child_Updates::to_upgrade_themes()">MainWP_Child_Updates::to_upgrade_themes()</abbr></a></span>
<section class="phpdocumentor-description"><p>Complete the themes update process.</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-Updates.html#method_upgrade_get_theme_updates"><abbr title="\MainWP\Child\MainWP_Child_Updates::upgrade_get_theme_updates()">MainWP_Child_Updates::upgrade_get_theme_updates()</abbr></a></span>
<section class="phpdocumentor-description"><p>Get theme updates information.</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()-&gt;error()</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<section class="phpdocumentor-description"><p>\MainWP\Child\MainWP_Child_Updates::upgrade_plugin_theme() Fire off plugins and themes updates and write feedback to the synchronization information.</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-Updates.html#method_upgrade_plugin_theme"><abbr title="\MainWP\Child\MainWP_Child_Updates::upgrade_plugin_theme()">MainWP_Child_Updates::upgrade_plugin_theme()</abbr></a></span>
<section class="phpdocumentor-description"><p>Execute themes updates.</p>
</section>
</dd>
</dl>
</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-updates.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
</div>
<button data-exit-button class="phpdocumentor-modal__close">&times;</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-Updates.html#toc-properties">Properties</a></li>
<li><a href="classes/MainWP-Child-MainWP-Child-Updates.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-Updates.html#property_instance">$instance</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updates.html#property_filterFunction">$filterFunction</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-Updates.html#method___construct">__construct()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_detect_premium_themesplugins_updates">detect_premium_themesplugins_updates()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_enable_pre_auto_rollback_hooking">enable_pre_auto_rollback_hooking()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_get_class_name">get_class_name()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_get_instance">get_instance()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_hook_fix_optimize_press_theme_update">hook_fix_optimize_press_theme_update()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_set_cached_update_plugins">set_cached_update_plugins()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_set_cached_update_themes">set_cached_update_themes()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_upgrade_get_theme_updates">upgrade_get_theme_updates()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_upgrade_plugin_theme">upgrade_plugin_theme()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_upgrade_translation">upgrade_translation()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_upgrade_wp">upgrade_wp()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_upgrader_auto_rollback_hooking">upgrader_auto_rollback_hooking()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_check_core_updater_locked">check_core_updater_locked()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_check_update_requires">check_update_requires()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_do_upgrade_wp">do_upgrade_wp()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_include_updates">include_updates()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_to_support_some_premiums_updates">to_support_some_premiums_updates()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_to_update_plugins">to_update_plugins()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_to_upgrade_themes">to_upgrade_themes()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_update_premiums_to_do">update_premiums_to_do()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_upgrade_plugin">upgrade_plugin()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_upgrade_theme">upgrade_theme()</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-Updates.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>