mirror of
https://gh.llkk.cc/https://github.com/mainwp/mainwp.dev.git
synced 2025-10-04 15:43:04 +08:00
1056 lines
53 KiB
HTML
1056 lines
53 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>MainWP Dashboard Code Reference</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 href="https://fonts.googleapis.com/css2?family=Source+Sans+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" />
|
|
<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="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></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 Dashboard Code Reference</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 -four phpdocumentor-sidebar">
|
|
|
|
<section class="phpdocumentor-sidebar__category">
|
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
|
<h3 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/default.html"><abbr title="\">Global</abbr></a></h3>
|
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/mainwp.html"><abbr title="\MainWP">MainWP</abbr></a></h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li><a href="namespaces/mainwp-child.html"><abbr title="\MainWP\Child">Child</abbr></a></li>
|
|
</ul>
|
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/composer.html"><abbr title="\Composer">Composer</abbr></a></h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li><a href="namespaces/composer-autoload.html"><abbr title="\Composer\Autoload">Autoload</abbr></a></li>
|
|
</ul>
|
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/paragonie.html"><abbr title="\ParagonIE">ParagonIE</abbr></a></h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li><a href="namespaces/paragonie-constanttime.html"><abbr title="\ParagonIE\ConstantTime">ConstantTime</abbr></a></li>
|
|
</ul>
|
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/phpseclib3.html"><abbr title="\phpseclib3">phpseclib3</abbr></a></h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li><a href="namespaces/phpseclib3-common.html"><abbr title="\phpseclib3\Common">Common</abbr></a></li>
|
|
<li><a href="namespaces/phpseclib3-crypt.html"><abbr title="\phpseclib3\Crypt">Crypt</abbr></a></li>
|
|
<li><a href="namespaces/phpseclib3-exception.html"><abbr title="\phpseclib3\Exception">Exception</abbr></a></li>
|
|
<li><a href="namespaces/phpseclib3-file.html"><abbr title="\phpseclib3\File">File</abbr></a></li>
|
|
<li><a href="namespaces/phpseclib3-math.html"><abbr title="\phpseclib3\Math">Math</abbr></a></li>
|
|
<li><a href="namespaces/phpseclib3-net.html"><abbr title="\phpseclib3\Net">Net</abbr></a></li>
|
|
<li><a href="namespaces/phpseclib3-system.html"><abbr title="\phpseclib3\System">System</abbr></a></li>
|
|
</ul>
|
|
</section>
|
|
|
|
<section class="phpdocumentor-sidebar__category">
|
|
<h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/MainWP.html"><abbr title="\MainWP">MainWP</abbr></a></h3>
|
|
<ul class="phpdocumentor-list">
|
|
<li><a href="packages/MainWP-Child.html"><abbr title="\MainWP\Child">Child</abbr></a></li>
|
|
<li><a href="packages/MainWP-ChildCreditsPlugin.html"><abbr title="\MainWP\ChildCreditsPlugin">ChildCreditsPlugin</abbr></a></li>
|
|
<li><a href="packages/MainWP-Dashboard.html"><abbr title="\MainWP\Dashboard">Dashboard</abbr></a></li>
|
|
</ul>
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/MainWPChild.html"><abbr title="\MainWPChild">MainWPChild</abbr></a></h3>
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/Default.html"><abbr title="\Default">Default</abbr></a></h3>
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/ParagonIE.html"><abbr title="\ParagonIE">ParagonIE</abbr></a></h3>
|
|
<ul class="phpdocumentor-list">
|
|
<li><a href="packages/ParagonIE-ConstantTime.html"><abbr title="\ParagonIE\ConstantTime">ConstantTime</abbr></a></li>
|
|
</ul>
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="packages/Mainwp.html"><abbr title="\Mainwp">Mainwp</abbr></a></h3>
|
|
<ul class="phpdocumentor-list">
|
|
<li><a href="packages/Mainwp-Child.html"><abbr title="\Mainwp\Child">Child</abbr></a></li>
|
|
</ul>
|
|
</section>
|
|
|
|
<section class="phpdocumentor-sidebar__category">
|
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
|
<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">
|
|
<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 -eight phpdocumentor-content">
|
|
<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_Plugins_Check
|
|
|
|
|
|
<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>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-plugins-check.php"><a href="files/class-class-mainwp-child-plugins-check.html"><abbr title="class/class-mainwp-child-plugins-check.php">class-mainwp-child-plugins-check.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">25</span>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Class MainWP_Child_Plugins_Check</p>
|
|
|
|
<section class="phpdocumentor-description"><p>Check if plugins have been abandoned.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3 id="toc">
|
|
Table of Contents
|
|
<a href="#toc" class="headerlink"><i class="fas fa-link"></i></a>
|
|
</h3>
|
|
|
|
<dl class="phpdocumentor-table-of-contents">
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -public">
|
|
<a href="classes/MainWP-Child-MainWP-Child-Plugins-Check.html#property_instance">$instance</a>
|
|
<span>
|
|
: 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 href="classes/MainWP-Child-MainWP-Child-Plugins-Check.html#property_cron_name_batching">$cron_name_batching</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Cron: Plugin health check batching.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a href="classes/MainWP-Child-MainWP-Child-Plugins-Check.html#property_cron_name_daily">$cron_name_daily</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Cron: Plugin health check daily.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a href="classes/MainWP-Child-MainWP-Child-Plugins-Check.html#property_cron_name_watcher">$cron_name_watcher</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Cron: Plugin health check watcher.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a href="classes/MainWP-Child-MainWP-Child-Plugins-Check.html#property_option_name_last_daily_run">$option_name_last_daily_run</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Transient: Plugin last daily run.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a href="classes/MainWP-Child-MainWP-Child-Plugins-Check.html#property_tran_name_plugin_timestamps">$tran_name_plugin_timestamps</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Transient: Plugin timestamps.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a href="classes/MainWP-Child-MainWP-Child-Plugins-Check.html#property_tran_name_plugins_to_batch">$tran_name_plugins_to_batch</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Transient: Plugins to batch.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/MainWP-Child-MainWP-Child-Plugins-Check.html#method___construct">__construct()</a>
|
|
<span>
|
|
: mixed
|
|
</span>
|
|
</dt>
|
|
<dd>MainWP_Child_Plugins_Check constructor.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/MainWP-Child-MainWP-Child-Plugins-Check.html#method_cleanup_deactivation">cleanup_deactivation()</a>
|
|
<span>
|
|
: mixed
|
|
</span>
|
|
</dt>
|
|
<dd>Un-schedules all events attached to the hook with the specified arguments.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/MainWP-Child-MainWP-Child-Plugins-Check.html#method_get_plugins_outdate_info">get_plugins_outdate_info()</a>
|
|
<span>
|
|
: array<string|int, mixed>
|
|
</span>
|
|
</dt>
|
|
<dd>Get plugins outdated info.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/MainWP-Child-MainWP-Child-Plugins-Check.html#method_instance">instance()</a>
|
|
<span>
|
|
: mixed
|
|
</span>
|
|
</dt>
|
|
<dd>Method instance()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/MainWP-Child-MainWP-Child-Plugins-Check.html#method_may_outdate_number_change">may_outdate_number_change()</a>
|
|
<span>
|
|
: mixed
|
|
</span>
|
|
</dt>
|
|
<dd>Update Days out of date option.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/MainWP-Child-MainWP-Child-Plugins-Check.html#method_modify_plugin_api_search_query">modify_plugin_api_search_query()</a>
|
|
<span>
|
|
: <abbr title="\stdClass">stdClass</abbr>
|
|
</span>
|
|
</dt>
|
|
<dd>Modify plugin API Search Query.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/MainWP-Child-MainWP-Child-Plugins-Check.html#method_perform_watchdog">perform_watchdog()</a>
|
|
<span>
|
|
: mixed
|
|
</span>
|
|
</dt>
|
|
<dd>Schedule watchdog crons.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/MainWP-Child-MainWP-Child-Plugins-Check.html#method_run_check">run_check()</a>
|
|
<span>
|
|
: mixed
|
|
</span>
|
|
</dt>
|
|
<dd>Run plugin update check.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/MainWP-Child-MainWP-Child-Plugins-Check.html#method_schedule_watchdog">schedule_watchdog()</a>
|
|
<span>
|
|
: mixed
|
|
</span>
|
|
</dt>
|
|
<dd>Schedule a global watchdog cron just in case both other crons get killed.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a href="classes/MainWP-Child-MainWP-Child-Plugins-Check.html#method_cleanup_basic">cleanup_basic()</a>
|
|
<span>
|
|
: mixed
|
|
</span>
|
|
</dt>
|
|
<dd>Un-schedules all events attached to the hook with the specified arguments.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a href="classes/MainWP-Child-MainWP-Child-Plugins-Check.html#method_try_get_response_body">try_get_response_body()</a>
|
|
<span>
|
|
: bool|string
|
|
</span>
|
|
</dt>
|
|
<dd>Try to get response body.</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-properties">
|
|
<h3 class="phpdocumentor-elements__header" id="properties">
|
|
Properties
|
|
<a href="classes/MainWP-Child-MainWP-Child-Plugins-Check.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
|
|
</h3>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-public
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_instance">
|
|
$instance
|
|
<a href="classes/MainWP-Child-MainWP-Child-Plugins-Check.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-plugins-check.php"><a href="files/class-class-mainwp-child-plugins-check.html"><abbr title="class/class-mainwp-child-plugins-check.php">class-mainwp-child-plugins-check.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">74</span>
|
|
</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">public</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">$instance</span>
|
|
= <span class="phpdocumentor-signature__default-value">null</span></code>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_cron_name_batching">
|
|
$cron_name_batching
|
|
<a href="classes/MainWP-Child-MainWP-Child-Plugins-Check.html#property_cron_name_batching" 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-plugins-check.php"><a href="files/class-class-mainwp-child-plugins-check.html"><abbr title="class/class-mainwp-child-plugins-check.php">class-mainwp-child-plugins-check.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">46</span>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Cron: Plugin health check batching.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__type">string</span>
|
|
<span class="phpdocumentor-signature__name">$cron_name_batching</span>
|
|
= <span class="phpdocumentor-signature__default-value">'mainwp_child_cron_plugin_health_check_batching'</span></code>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_cron_name_daily">
|
|
$cron_name_daily
|
|
<a href="classes/MainWP-Child-MainWP-Child-Plugins-Check.html#property_cron_name_daily" 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-plugins-check.php"><a href="files/class-class-mainwp-child-plugins-check.html"><abbr title="class/class-mainwp-child-plugins-check.php">class-mainwp-child-plugins-check.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">39</span>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Cron: Plugin health check daily.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__type">string</span>
|
|
<span class="phpdocumentor-signature__name">$cron_name_daily</span>
|
|
= <span class="phpdocumentor-signature__default-value">'mainwp_child_cron_plugin_health_check_daily'</span></code>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_cron_name_watcher">
|
|
$cron_name_watcher
|
|
<a href="classes/MainWP-Child-MainWP-Child-Plugins-Check.html#property_cron_name_watcher" 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-plugins-check.php"><a href="files/class-class-mainwp-child-plugins-check.html"><abbr title="class/class-mainwp-child-plugins-check.php">class-mainwp-child-plugins-check.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">32</span>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Cron: Plugin health check watcher.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__type">string</span>
|
|
<span class="phpdocumentor-signature__name">$cron_name_watcher</span>
|
|
= <span class="phpdocumentor-signature__default-value">'mainwp_child_cron_plugin_health_check_watcher'</span></code>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_option_name_last_daily_run">
|
|
$option_name_last_daily_run
|
|
<a href="classes/MainWP-Child-MainWP-Child-Plugins-Check.html#property_option_name_last_daily_run" 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-plugins-check.php"><a href="files/class-class-mainwp-child-plugins-check.html"><abbr title="class/class-mainwp-child-plugins-check.php">class-mainwp-child-plugins-check.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">67</span>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Transient: Plugin last daily run.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__type">string</span>
|
|
<span class="phpdocumentor-signature__name">$option_name_last_daily_run</span>
|
|
= <span class="phpdocumentor-signature__default-value">'mainwp_child_plugin_last_daily_run'</span></code>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_tran_name_plugin_timestamps">
|
|
$tran_name_plugin_timestamps
|
|
<a href="classes/MainWP-Child-MainWP-Child-Plugins-Check.html#property_tran_name_plugin_timestamps" 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-plugins-check.php"><a href="files/class-class-mainwp-child-plugins-check.html"><abbr title="class/class-mainwp-child-plugins-check.php">class-mainwp-child-plugins-check.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">53</span>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Transient: Plugin timestamps.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__type">string</span>
|
|
<span class="phpdocumentor-signature__name">$tran_name_plugin_timestamps</span>
|
|
= <span class="phpdocumentor-signature__default-value">'mainwp_child_tran_name_plugin_timestamps'</span></code>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_tran_name_plugins_to_batch">
|
|
$tran_name_plugins_to_batch
|
|
<a href="classes/MainWP-Child-MainWP-Child-Plugins-Check.html#property_tran_name_plugins_to_batch" 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-plugins-check.php"><a href="files/class-class-mainwp-child-plugins-check.html"><abbr title="class/class-mainwp-child-plugins-check.php">class-mainwp-child-plugins-check.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">60</span>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Transient: Plugins to batch.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__type">string</span>
|
|
<span class="phpdocumentor-signature__name">$tran_name_plugins_to_batch</span>
|
|
= <span class="phpdocumentor-signature__default-value">'mainwp_child_tran_name_plugins_to_batch'</span></code>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
</article>
|
|
</section>
|
|
|
|
<section class="phpdocumentor-methods">
|
|
<h3 class="phpdocumentor-elements__header" id="methods">
|
|
Methods
|
|
<a href="classes/MainWP-Child-MainWP-Child-Plugins-Check.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-Plugins-Check.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-plugins-check.php"><a href="files/class-class-mainwp-child-plugins-check.html"><abbr title="class/class-mainwp-child-plugins-check.php">class-mainwp-child-plugins-check.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">96</span>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">MainWP_Child_Plugins_Check 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>
|
|
|
|
<section class="phpdocumentor-description"><p>Run any time class is called.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_cleanup_deactivation">
|
|
cleanup_deactivation()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Plugins-Check.html#method_cleanup_deactivation" 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-plugins-check.php"><a href="files/class-class-mainwp-child-plugins-check.html"><abbr title="class/class-mainwp-child-plugins-check.php">class-mainwp-child-plugins-check.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">126</span>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Un-schedules all events attached to the hook with the specified arguments.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">cleanup_deactivation</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$del</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">true</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<section class="phpdocumentor-description"><p>On success an integer indicating number of events un-scheduled (0 indicates no events were registered with the hook and arguments combination),
|
|
false if un-scheduling one or more events fail.</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">$del</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">true</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Whether or not to delete the transient data. Default: true.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_plugins_outdate_info">
|
|
get_plugins_outdate_info()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Plugins-Check.html#method_get_plugins_outdate_info" 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-plugins-check.php"><a href="files/class-class-mainwp-child-plugins-check.html"><abbr title="class/class-mainwp-child-plugins-check.php">class-mainwp-child-plugins-check.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">201</span>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get plugins outdated info.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">get_plugins_outdate_info</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, mixed></span></code>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, mixed></span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$plugins_outdate Array of outdated plugin info.</p>
|
|
</section>
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_instance">
|
|
instance()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Plugins-Check.html#method_instance" class="headerlink"><i class="fas fa-link"></i></a>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-plugins-check.php"><a href="files/class-class-mainwp-child-plugins-check.html"><abbr title="class/class-mainwp-child-plugins-check.php">class-mainwp-child-plugins-check.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">83</span>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method 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">instance</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<section class="phpdocumentor-description"><p>Create a public static instance.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Class instance.</p>
|
|
</section>
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_may_outdate_number_change">
|
|
may_outdate_number_change()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Plugins-Check.html#method_may_outdate_number_change" 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-plugins-check.php"><a href="files/class-class-mainwp-child-plugins-check.html"><abbr title="class/class-mainwp-child-plugins-check.php">class-mainwp-child-plugins-check.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">230</span>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Update Days out of date option.</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">may_outdate_number_change</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="#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-Themes-Check.html#method_cleanup_deactivation"><abbr title="\MainWP\Child\MainWP_Child_Themes_Check::cleanup_deactivation()">MainWP_Child_Themes_Check::cleanup_deactivation()</abbr></a></span>
|
|
|
|
<section class="phpdocumentor-description"></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_update_option"><abbr title="\MainWP\Child\MainWP_Helper::update_option()">MainWP_Helper::update_option()</abbr></a></span>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_modify_plugin_api_search_query">
|
|
modify_plugin_api_search_query()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Plugins-Check.html#method_modify_plugin_api_search_query" 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-plugins-check.php"><a href="files/class-class-mainwp-child-plugins-check.html"><abbr title="class/class-mainwp-child-plugins-check.php">class-mainwp-child-plugins-check.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">142</span>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Modify plugin API Search Query.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">modify_plugin_api_search_query</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">object </span><span class="phpdocumentor-signature__argument__name">$args</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$action</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><abbr title="\stdClass">stdClass</abbr></span></code>
|
|
|
|
<section class="phpdocumentor-description"></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">$args</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">object</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Query arguments.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$action</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Action to perform: query_plugins.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type"><abbr title="\stdClass">stdClass</abbr></span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$args Modified Search Query.</p>
|
|
</section>
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_perform_watchdog">
|
|
perform_watchdog()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Plugins-Check.html#method_perform_watchdog" 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-plugins-check.php"><a href="files/class-class-mainwp-child-plugins-check.html"><abbr title="class/class-mainwp-child-plugins-check.php">class-mainwp-child-plugins-check.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">164</span>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Schedule watchdog crons.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">perform_watchdog</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">throws</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Exception.html"><abbr title="\MainWP\Child\MainWP_Exception">MainWP_Exception</abbr></a></span>
|
|
|
|
<section class="phpdocumentor-description"><p>Error message on failure.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_run_check">
|
|
run_check()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Plugins-Check.html#method_run_check" 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-plugins-check.php"><a href="files/class-class-mainwp-child-plugins-check.html"><abbr title="class/class-mainwp-child-plugins-check.php">class-mainwp-child-plugins-check.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">249</span>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Run plugin update check.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">run_check</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">throws</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Exception.html"><abbr title="\MainWP\Child\MainWP_Exception">MainWP_Exception</abbr></a></span>
|
|
|
|
<section class="phpdocumentor-description"><p>Error message on failure.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_schedule_watchdog">
|
|
schedule_watchdog()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Plugins-Check.html#method_schedule_watchdog" 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-plugins-check.php"><a href="files/class-class-mainwp-child-plugins-check.html"><abbr title="class/class-mainwp-child-plugins-check.php">class-mainwp-child-plugins-check.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">190</span>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Schedule a global watchdog cron just in case both other crons get killed.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">schedule_watchdog</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_cleanup_basic">
|
|
cleanup_basic()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Plugins-Check.html#method_cleanup_basic" 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-plugins-check.php"><a href="files/class-class-mainwp-child-plugins-check.html"><abbr title="class/class-mainwp-child-plugins-check.php">class-mainwp-child-plugins-check.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">113</span>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Un-schedules all events attached to the hook with the specified arguments.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">cleanup_basic</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<section class="phpdocumentor-description"><p>On success an integer indicating number of events un-scheduled (0 indicates no events were registered with the hook and arguments combination),
|
|
false if un-scheduling one or more events fail.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_try_get_response_body">
|
|
try_get_response_body()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Plugins-Check.html#method_try_get_response_body" 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-plugins-check.php"><a href="files/class-class-mainwp-child-plugins-check.html"><abbr title="class/class-mainwp-child-plugins-check.php">class-mainwp-child-plugins-check.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">344</span>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Try to get response body.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">try_get_response_body</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$plugin</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$second_pass</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool|string</span></code>
|
|
|
|
<section class="phpdocumentor-description"></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">$plugin</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Plugin slug.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$second_pass</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Second pass check.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">bool|string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>true|false The body of the response. Empty string if no body or incorrect parameter given.</p>
|
|
</section>
|
|
|
|
|
|
</article>
|
|
</section>
|
|
|
|
</article>
|
|
<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>
|
|
</div>
|
|
<a href="classes/MainWP-Child-MainWP-Child-Plugins-Check.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
|
|
|
</main>
|
|
|
|
<script>
|
|
cssVars({});
|
|
</script>
|
|
</body>
|
|
</html>
|