mirror of
https://gh.wpcy.net/https://github.com/mainwp/mainwp.dev.git
synced 2026-07-16 19:45:29 +08:00
2526 lines
120 KiB
HTML
2526 lines
120 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_Actions
|
|
|
|
|
|
<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-actions.php"><a href="files/class-class-mainwp-child-actions.html"><abbr title="class/class-mainwp-child-actions.php">class-mainwp-child-actions.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">17</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#source-view.17" class="phpdocumentor-element-found-in__source" data-line="17" data-modal="source-view" data-src="files/class/class-mainwp-child-actions.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Class MainWP_Child_Actions</p>
|
|
|
|
|
|
<section class="phpdocumentor-description"><p>Handle MainWP Child Actions.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3 id="toc">
|
|
Table of Contents
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4 id="toc-properties">
|
|
Properties
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#toc-properties" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<dl class="phpdocumentor-table-of-contents">
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Actions.html#property_current_plugins_info">$current_plugins_info</a>
|
|
<span>
|
|
: array<string|int, mixed> </span>
|
|
</dt>
|
|
<dd>Old plugins.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Actions.html#property_current_themes_info">$current_themes_info</a>
|
|
<span>
|
|
: array<string|int, mixed> </span>
|
|
</dt>
|
|
<dd>Old themes.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Actions.html#property_actions_data">$actions_data</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Public static variable.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Actions.html#property_connected_admin">$connected_admin</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Public static variable.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Actions.html#property_init_actions">$init_actions</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Public static variable.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Actions.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 -protected">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Actions.html#property_sending">$sending</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Public static variable.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Actions.html#property_exec_start">$exec_start</a>
|
|
<span>
|
|
: int </span>
|
|
</dt>
|
|
<dd>Private variable to hold time start.</dd>
|
|
|
|
</dl>
|
|
|
|
<h4 id="toc-methods">
|
|
Methods
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.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-Actions.html#method___construct">__construct()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>MainWP_Child_Callable constructor.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Actions.html#method_callback">callback()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Callback for all registered hooks.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Actions.html#method_callback__core_updated_successfully">callback__core_updated_successfully()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Core updated successfully callback.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Actions.html#method_callback_activate_plugin">callback_activate_plugin()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Activate plugin callback.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Actions.html#method_callback_automatic_updates_complete">callback_automatic_updates_complete()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Logs WordPress core upgrades</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Actions.html#method_callback_deactivate_plugin">callback_deactivate_plugin()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Decativate plugin callback.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Actions.html#method_callback_delete_site_transient_update_themes">callback_delete_site_transient_update_themes()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Update theme & transient delete callback.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Actions.html#method_callback_deleted_plugin">callback_deleted_plugin()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Uninstall plugins callback.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Actions.html#method_callback_pre_option_uninstall_plugins">callback_pre_option_uninstall_plugins()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Uninstall plugins callback.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Actions.html#method_callback_switch_theme">callback_switch_theme()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Switch theme callback.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Actions.html#method_callback_upgrader_pre_install">callback_upgrader_pre_install()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Upgrader pre-instaler callback.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Actions.html#method_callback_upgrader_process_complete">callback_upgrader_process_complete()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Log plugin installations.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Actions.html#method_check_actions_data">check_actions_data()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Method to check actions data.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Actions.html#method_delete_actions">delete_actions()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Delete actions logs.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Actions.html#method_get_actions_data">get_actions_data()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Method to get actions info.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Actions.html#method_get_class_name">get_class_name()</a>
|
|
<span>
|
|
: 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-Actions.html#method_get_current_agent">get_current_agent()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Get agent.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Actions.html#method_get_current_plugins_info">get_current_plugins_info()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Method get_current_plugins_info().</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Actions.html#method_get_current_themes_info">get_current_themes_info()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Method get_current_themes_info().</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Actions.html#method_get_display_name">get_display_name()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Get the display name of the user</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Actions.html#method_get_exec_time">get_exec_time()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Method get_exec_time().</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Actions.html#method_get_instance">get_instance()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Method instance()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Actions.html#method_get_plugins">get_plugins()</a>
|
|
<span>
|
|
: array<string|int, mixed> </span>
|
|
</dt>
|
|
<dd>Wrapper method for calling get_plugins().</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Actions.html#method_get_valid_action">get_valid_action()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Get valid action.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Actions.html#method_get_valid_context">get_valid_context()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Get valid context.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Actions.html#method_init_custom_hooks">init_custom_hooks()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Method init_custom_hooks().</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Actions.html#method_init_exec_time">init_exec_time()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Method init_exec_time().</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Actions.html#method_init_hooks">init_hooks()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Method init_hooks().</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Actions.html#method_is_cron_enabled">is_cron_enabled()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>True if native WP Cron is enabled, otherwise false.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Actions.html#method_is_doing_wp_cron">is_doing_wp_cron()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>True if doing WP Cron, otherwise false.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Actions.html#method_save_actions">save_actions()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Log handler.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a class="" href="classes/MainWP-Child-MainWP-Child-Actions.html#method_update_actions_data">update_actions_data()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Method to save actions info.</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-properties">
|
|
<h3 class="phpdocumentor-elements__header" id="properties">
|
|
Properties
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h3>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_current_plugins_info">
|
|
$current_plugins_info
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#property_current_plugins_info" 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-actions.php"><a href="files/class-class-mainwp-child-actions.html"><abbr title="class/class-mainwp-child-actions.php">class-mainwp-child-actions.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">60</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#source-view.60" class="phpdocumentor-element-found-in__source" data-line="60" data-modal="source-view" data-src="files/class/class-mainwp-child-actions.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Old plugins.</p>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">array<string|int, mixed></span>
|
|
<span class="phpdocumentor-signature__name">$current_plugins_info</span>
|
|
= <span class="phpdocumentor-signature__default-value">array()</span></code>
|
|
|
|
|
|
<section class="phpdocumentor-description"><p>Old plugins array.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_current_themes_info">
|
|
$current_themes_info
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#property_current_themes_info" 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-actions.php"><a href="files/class-class-mainwp-child-actions.html"><abbr title="class/class-mainwp-child-actions.php">class-mainwp-child-actions.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">67</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#source-view.67" class="phpdocumentor-element-found-in__source" data-line="67" data-modal="source-view" data-src="files/class/class-mainwp-child-actions.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Old themes.</p>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">array<string|int, mixed></span>
|
|
<span class="phpdocumentor-signature__name">$current_themes_info</span>
|
|
= <span class="phpdocumentor-signature__default-value">array()</span></code>
|
|
|
|
|
|
<section class="phpdocumentor-description"><p>Old themes array.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_actions_data">
|
|
$actions_data
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#property_actions_data" 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-actions.php"><a href="files/class-class-mainwp-child-actions.html"><abbr title="class/class-mainwp-child-actions.php">class-mainwp-child-actions.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">38</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#source-view.38" class="phpdocumentor-element-found-in__source" data-line="38" data-modal="source-view" data-src="files/class/class-mainwp-child-actions.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Public static variable.</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">$actions_data</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
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_connected_admin">
|
|
$connected_admin
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#property_connected_admin" 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-actions.php"><a href="files/class-class-mainwp-child-actions.html"><abbr title="class/class-mainwp-child-actions.php">class-mainwp-child-actions.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">52</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#source-view.52" class="phpdocumentor-element-found-in__source" data-line="52" data-modal="source-view" data-src="files/class/class-mainwp-child-actions.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Public static variable.</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">$connected_admin</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
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_init_actions">
|
|
$init_actions
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#property_init_actions" 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-actions.php"><a href="files/class-class-mainwp-child-actions.html"><abbr title="class/class-mainwp-child-actions.php">class-mainwp-child-actions.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">31</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#source-view.31" class="phpdocumentor-element-found-in__source" data-line="31" data-modal="source-view" data-src="files/class/class-mainwp-child-actions.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Public static variable.</p>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">$init_actions</span>
|
|
= <span class="phpdocumentor-signature__default-value">array()</span></code>
|
|
|
|
|
|
<section class="phpdocumentor-description"><p>Default null</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_instance">
|
|
$instance
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.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-actions.php"><a href="files/class-class-mainwp-child-actions.html"><abbr title="class/class-mainwp-child-actions.php">class-mainwp-child-actions.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">24</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#source-view.24" class="phpdocumentor-element-found-in__source" data-line="24" data-modal="source-view" data-src="files/class/class-mainwp-child-actions.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
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_sending">
|
|
$sending
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#property_sending" 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-actions.php"><a href="files/class-class-mainwp-child-actions.html"><abbr title="class/class-mainwp-child-actions.php">class-mainwp-child-actions.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">45</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#source-view.45" class="phpdocumentor-element-found-in__source" data-line="45" data-modal="source-view" data-src="files/class/class-mainwp-child-actions.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Public static variable.</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">$sending</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
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_exec_start">
|
|
$exec_start
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#property_exec_start" 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-actions.php"><a href="files/class-class-mainwp-child-actions.html"><abbr title="class/class-mainwp-child-actions.php">class-mainwp-child-actions.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">75</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#source-view.75" class="phpdocumentor-element-found-in__source" data-line="75" data-modal="source-view" data-src="files/class/class-mainwp-child-actions.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Private variable to hold time start.</p>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__type">int</span>
|
|
<span class="phpdocumentor-signature__name">$exec_start</span>
|
|
= <span class="phpdocumentor-signature__default-value">null</span></code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
</section>
|
|
|
|
<section class="phpdocumentor-methods">
|
|
<h3 class="phpdocumentor-elements__header" id="methods">
|
|
Methods
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.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-Actions.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-actions.php"><a href="files/class-class-mainwp-child-actions.html"><abbr title="class/class-mainwp-child-actions.php">class-mainwp-child-actions.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">93</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#source-view.93" class="phpdocumentor-element-found-in__source" data-line="93" data-modal="source-view" data-src="files/class/class-mainwp-child-actions.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">MainWP_Child_Callable 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_callback">
|
|
callback()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_callback" 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-actions.php"><a href="files/class-class-mainwp-child-actions.html"><abbr title="class/class-mainwp-child-actions.php">class-mainwp-child-actions.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">202</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#source-view.202" class="phpdocumentor-element-found-in__source" data-line="202" data-modal="source-view" data-src="files/class/class-mainwp-child-actions.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Callback for all registered hooks.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">callback</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>Looks for a class method with the convention: "callback_{action name}"</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_callback__core_updated_successfully">
|
|
callback__core_updated_successfully()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_callback__core_updated_successfully" 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-actions.php"><a href="files/class-class-mainwp-child-actions.html"><abbr title="class/class-mainwp-child-actions.php">class-mainwp-child-actions.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">633</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#source-view.633" class="phpdocumentor-element-found-in__source" data-line="633" data-modal="source-view" data-src="files/class/class-mainwp-child-actions.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Core updated successfully callback.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">callback__core_updated_successfully</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_callback_activate_plugin">
|
|
callback_activate_plugin()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_callback_activate_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-actions.php"><a href="files/class-class-mainwp-child-actions.html"><abbr title="class/class-mainwp-child-actions.php">class-mainwp-child-actions.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">458</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#source-view.458" class="phpdocumentor-element-found-in__source" data-line="458" data-modal="source-view" data-src="files/class/class-mainwp-child-actions.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Activate plugin callback.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">callback_activate_plugin</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$slug</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$network_wide</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">false</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$slug</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">$network_wide</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>Check if network wide.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_callback_automatic_updates_complete">
|
|
callback_automatic_updates_complete()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_callback_automatic_updates_complete" 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-actions.php"><a href="files/class-class-mainwp-child-actions.html"><abbr title="class/class-mainwp-child-actions.php">class-mainwp-child-actions.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">607</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#source-view.607" class="phpdocumentor-element-found-in__source" data-line="607" data-modal="source-view" data-src="files/class/class-mainwp-child-actions.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Logs WordPress core upgrades</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">callback_automatic_updates_complete</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$update_results</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">$update_results</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Update results.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_callback_automatic_updates_complete#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">action</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>automatic_updates_complete</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>bool|null.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_callback_deactivate_plugin">
|
|
callback_deactivate_plugin()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_callback_deactivate_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-actions.php"><a href="files/class-class-mainwp-child-actions.html"><abbr title="class/class-mainwp-child-actions.php">class-mainwp-child-actions.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">485</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#source-view.485" class="phpdocumentor-element-found-in__source" data-line="485" data-modal="source-view" data-src="files/class/class-mainwp-child-actions.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Decativate plugin callback.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">callback_deactivate_plugin</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$slug</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$network_wide</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">false</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$slug</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">$network_wide</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>Check if network wide.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_callback_delete_site_transient_update_themes">
|
|
callback_delete_site_transient_update_themes()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_callback_delete_site_transient_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-actions.php"><a href="files/class-class-mainwp-child-actions.html"><abbr title="class/class-mainwp-child-actions.php">class-mainwp-child-actions.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">523</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#source-view.523" class="phpdocumentor-element-found-in__source" data-line="523" data-modal="source-view" data-src="files/class/class-mainwp-child-actions.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Update theme & transient delete callback.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">callback_delete_site_transient_update_themes</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_callback_delete_site_transient_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">devtodo</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>Core needs a delete_theme hook</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_callback_deleted_plugin">
|
|
callback_deleted_plugin()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_callback_deleted_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-actions.php"><a href="files/class-class-mainwp-child-actions.html"><abbr title="class/class-mainwp-child-actions.php">class-mainwp-child-actions.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">572</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#source-view.572" class="phpdocumentor-element-found-in__source" data-line="572" data-modal="source-view" data-src="files/class/class-mainwp-child-actions.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Uninstall plugins callback.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">callback_deleted_plugin</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$plugin_file</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$deleted</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">$plugin_file</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>plugin file name.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$deleted</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>deleted or not.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_callback_pre_option_uninstall_plugins">
|
|
callback_pre_option_uninstall_plugins()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_callback_pre_option_uninstall_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-actions.php"><a href="files/class-class-mainwp-child-actions.html"><abbr title="class/class-mainwp-child-actions.php">class-mainwp-child-actions.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">552</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#source-view.552" class="phpdocumentor-element-found-in__source" data-line="552" data-modal="source-view" data-src="files/class/class-mainwp-child-actions.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Uninstall plugins callback.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">callback_pre_option_uninstall_plugins</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_callback_switch_theme">
|
|
callback_switch_theme()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_callback_switch_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-actions.php"><a href="files/class-class-mainwp-child-actions.html"><abbr title="class/class-mainwp-child-actions.php">class-mainwp-child-actions.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">508</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#source-view.508" class="phpdocumentor-element-found-in__source" data-line="508" data-modal="source-view" data-src="files/class/class-mainwp-child-actions.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Switch theme callback.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">callback_switch_theme</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$name</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$theme</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">$name</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Theme name.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$theme</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Theme slug.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_callback_upgrader_pre_install">
|
|
callback_upgrader_pre_install()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_callback_upgrader_pre_install" 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-actions.php"><a href="files/class-class-mainwp-child-actions.html"><abbr title="class/class-mainwp-child-actions.php">class-mainwp-child-actions.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">665</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#source-view.665" class="phpdocumentor-element-found-in__source" data-line="665" data-modal="source-view" data-src="files/class/class-mainwp-child-actions.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Upgrader pre-instaler callback.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">callback_upgrader_pre_install</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_callback_upgrader_process_complete">
|
|
callback_upgrader_process_complete()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_callback_upgrader_process_complete" 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-actions.php"><a href="files/class-class-mainwp-child-actions.html"><abbr title="class/class-mainwp-child-actions.php">class-mainwp-child-actions.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">299</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#source-view.299" class="phpdocumentor-element-found-in__source" data-line="299" data-modal="source-view" data-src="files/class/class-mainwp-child-actions.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Log plugin installations.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">callback_upgrader_process_complete</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\WP_Upgrader">WP_Upgrader</abbr> </span><span class="phpdocumentor-signature__argument__name">$upgrader</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$extra</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$upgrader</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\WP_Upgrader">WP_Upgrader</abbr></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>WP_Upgrader class object.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$extra</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Extra attributes array.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_callback_upgrader_process_complete#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">action</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>transition_post_status.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">bool</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Return TRUE|FALSE.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_check_actions_data">
|
|
check_actions_data()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_check_actions_data" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-actions.php"><a href="files/class-class-mainwp-child-actions.html"><abbr title="class/class-mainwp-child-actions.php">class-mainwp-child-actions.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">255</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#source-view.255" class="phpdocumentor-element-found-in__source" data-line="255" data-modal="source-view" data-src="files/class/class-mainwp-child-actions.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method to check actions data.</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">check_actions_data</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>Clear old the action info.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_delete_actions">
|
|
delete_actions()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_delete_actions" 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-actions.php"><a href="files/class-class-mainwp-child-actions.html"><abbr title="class/class-mainwp-child-actions.php">class-mainwp-child-actions.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">853</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#source-view.853" class="phpdocumentor-element-found-in__source" data-line="853" data-modal="source-view" data-src="files/class/class-mainwp-child-actions.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Delete actions logs.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">delete_actions</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_actions_data">
|
|
get_actions_data()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_get_actions_data" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-actions.php"><a href="files/class-class-mainwp-child-actions.html"><abbr title="class/class-mainwp-child-actions.php">class-mainwp-child-actions.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">215</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#source-view.215" class="phpdocumentor-element-found-in__source" data-line="215" data-modal="source-view" data-src="files/class/class-mainwp-child-actions.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method to get actions info.</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_actions_data</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-Actions.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-actions.php"><a href="files/class-class-mainwp-child-actions.html"><abbr title="class/class-mainwp-child-actions.php">class-mainwp-child-actions.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">84</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#source-view.84" class="phpdocumentor-element-found-in__source" data-line="84" data-modal="source-view" data-src="files/class/class-mainwp-child-actions.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>
|
|
—
|
|
<section class="phpdocumentor-description"><p><strong>CLASS</strong> Class name.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_current_agent">
|
|
get_current_agent()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_get_current_agent" 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-actions.php"><a href="files/class-class-mainwp-child-actions.html"><abbr title="class/class-mainwp-child-actions.php">class-mainwp-child-actions.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">920</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#source-view.920" class="phpdocumentor-element-found-in__source" data-line="920" data-modal="source-view" data-src="files/class/class-mainwp-child-actions.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get agent.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">get_current_agent</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_current_plugins_info">
|
|
get_current_plugins_info()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_get_current_plugins_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-actions.php"><a href="files/class-class-mainwp-child-actions.html"><abbr title="class/class-mainwp-child-actions.php">class-mainwp-child-actions.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">184</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#source-view.184" class="phpdocumentor-element-found-in__source" data-line="184" data-modal="source-view" data-src="files/class/class-mainwp-child-actions.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method get_current_plugins_info().</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">get_current_plugins_info</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>Get current plugins info.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_current_themes_info">
|
|
get_current_themes_info()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_get_current_themes_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-actions.php"><a href="files/class-class-mainwp-child-actions.html"><abbr title="class/class-mainwp-child-actions.php">class-mainwp-child-actions.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">194</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#source-view.194" class="phpdocumentor-element-found-in__source" data-line="194" data-modal="source-view" data-src="files/class/class-mainwp-child-actions.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method get_current_themes_info().</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">get_current_themes_info</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>Get current themes info.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_display_name">
|
|
get_display_name()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_get_display_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-actions.php"><a href="files/class-class-mainwp-child-actions.html"><abbr title="class/class-mainwp-child-actions.php">class-mainwp-child-actions.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">901</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#source-view.901" class="phpdocumentor-element-found-in__source" data-line="901" data-modal="source-view" data-src="files/class/class-mainwp-child-actions.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get the display name of the user</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">get_display_name</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$user</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$user</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>User object.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Return User Login or Display Names.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_exec_time">
|
|
get_exec_time()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_get_exec_time" 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-actions.php"><a href="files/class-class-mainwp-child-actions.html"><abbr title="class/class-mainwp-child-actions.php">class-mainwp-child-actions.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">841</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#source-view.841" class="phpdocumentor-element-found-in__source" data-line="841" data-modal="source-view" data-src="files/class/class-mainwp-child-actions.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method get_exec_time().</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">get_exec_time</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>Get execution time start value.</p>
|
|
</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-Actions.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-actions.php"><a href="files/class-class-mainwp-child-actions.html"><abbr title="class/class-mainwp-child-actions.php">class-mainwp-child-actions.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">115</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#source-view.115" class="phpdocumentor-element-found-in__source" data-line="115" data-modal="source-view" data-src="files/class/class-mainwp-child-actions.php.txt"></a>
|
|
</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">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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<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>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_plugins">
|
|
get_plugins()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_get_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-actions.php"><a href="files/class-class-mainwp-child-actions.html"><abbr title="class/class-mainwp-child-actions.php">class-mainwp-child-actions.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">713</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#source-view.713" class="phpdocumentor-element-found-in__source" data-line="713" data-modal="source-view" data-src="files/class/class-mainwp-child-actions.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Wrapper method for calling get_plugins().</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">get_plugins</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, mixed></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, mixed></span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Installed plugins.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_valid_action">
|
|
get_valid_action()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_get_valid_action" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-actions.php"><a href="files/class-class-mainwp-child-actions.html"><abbr title="class/class-mainwp-child-actions.php">class-mainwp-child-actions.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">882</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#source-view.882" class="phpdocumentor-element-found-in__source" data-line="882" data-modal="source-view" data-src="files/class/class-mainwp-child-actions.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get valid action.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">get_valid_action</span><span>(</span><span class="phpdocumentor-signature__argument"><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">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$action</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>action.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>action label.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get_valid_context">
|
|
get_valid_context()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_get_valid_context" 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-actions.php"><a href="files/class-class-mainwp-child-actions.html"><abbr title="class/class-mainwp-child-actions.php">class-mainwp-child-actions.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">865</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#source-view.865" class="phpdocumentor-element-found-in__source" data-line="865" data-modal="source-view" data-src="files/class/class-mainwp-child-actions.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get valid context.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">get_valid_context</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$context</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$context</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Context.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Context label.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_init_custom_hooks">
|
|
init_custom_hooks()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_init_custom_hooks" 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-actions.php"><a href="files/class-class-mainwp-child-actions.html"><abbr title="class/class-mainwp-child-actions.php">class-mainwp-child-actions.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">158</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#source-view.158" class="phpdocumentor-element-found-in__source" data-line="158" data-modal="source-view" data-src="files/class/class-mainwp-child-actions.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method init_custom_hooks().</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">init_custom_hooks</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$actions</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>Init WP custom hooks.</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">$actions</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>action name.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_init_exec_time">
|
|
init_exec_time()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_init_exec_time" 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-actions.php"><a href="files/class-class-mainwp-child-actions.html"><abbr title="class/class-mainwp-child-actions.php">class-mainwp-child-actions.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">829</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#source-view.829" class="phpdocumentor-element-found-in__source" data-line="829" data-modal="source-view" data-src="files/class/class-mainwp-child-actions.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method init_exec_time().</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">init_exec_time</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>Init execution time start value.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_init_hooks">
|
|
init_hooks()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_init_hooks" 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-actions.php"><a href="files/class-class-mainwp-child-actions.html"><abbr title="class/class-mainwp-child-actions.php">class-mainwp-child-actions.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">127</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#source-view.127" class="phpdocumentor-element-found-in__source" data-line="127" data-modal="source-view" data-src="files/class/class-mainwp-child-actions.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method init_hooks().</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">init_hooks</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>Init WP hooks.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_is_cron_enabled">
|
|
is_cron_enabled()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_is_cron_enabled" 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-actions.php"><a href="files/class-class-mainwp-child-actions.html"><abbr title="class/class-mainwp-child-actions.php">class-mainwp-child-actions.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">944</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#source-view.944" class="phpdocumentor-element-found-in__source" data-line="944" data-modal="source-view" data-src="files/class/class-mainwp-child-actions.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">True if native WP Cron is enabled, otherwise false.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">is_cron_enabled</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">bool</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_is_doing_wp_cron">
|
|
is_doing_wp_cron()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_is_doing_wp_cron" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-actions.php"><a href="files/class-class-mainwp-child-actions.html"><abbr title="class/class-mainwp-child-actions.php">class-mainwp-child-actions.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">935</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#source-view.935" class="phpdocumentor-element-found-in__source" data-line="935" data-modal="source-view" data-src="files/class/class-mainwp-child-actions.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">True if doing WP Cron, otherwise false.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">is_doing_wp_cron</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">bool</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_save_actions">
|
|
save_actions()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_save_actions" 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-actions.php"><a href="files/class-class-mainwp-child-actions.html"><abbr title="class/class-mainwp-child-actions.php">class-mainwp-child-actions.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">729</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#source-view.729" class="phpdocumentor-element-found-in__source" data-line="729" data-modal="source-view" data-src="files/class/class-mainwp-child-actions.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Log handler.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">save_actions</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$message</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </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">$context</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">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$message</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>sprintf-ready error message string.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$args</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>sprintf (and extra) arguments to use.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$context</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Context of the event.</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 of the event.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_update_actions_data">
|
|
update_actions_data()
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_update_actions_data" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-child-actions.php"><a href="files/class-class-mainwp-child-actions.html"><abbr title="class/class-mainwp-child-actions.php">class-mainwp-child-actions.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">242</span>
|
|
|
|
<a href="classes/MainWP-Child-MainWP-Child-Actions.html#source-view.242" class="phpdocumentor-element-found-in__source" data-line="242" data-modal="source-view" data-src="files/class/class-mainwp-child-actions.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method to save actions info.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">update_actions_data</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$index</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$data</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$index</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">int</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>index.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$data</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Action data .</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">bool</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Return TRUE.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
</section>
|
|
|
|
<div class="phpdocumentor-modal" id="source-view">
|
|
<div class="phpdocumentor-modal-bg" data-exit-button></div>
|
|
<div class="phpdocumentor-modal-container">
|
|
<div class="phpdocumentor-modal-content">
|
|
<pre style="max-height: 500px; overflow-y: scroll" data-src="files/class/class-mainwp-child-actions.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
|
|
</div>
|
|
<button data-exit-button class="phpdocumentor-modal__close">×</button>
|
|
</div>
|
|
</div>
|
|
|
|
<script type="text/javascript">
|
|
(function () {
|
|
function loadExternalCodeSnippet(el, url, line) {
|
|
Array.prototype.slice.call(el.querySelectorAll('pre[data-src]')).forEach((pre) => {
|
|
const src = url || pre.getAttribute('data-src').replace(/\\/g, '/');
|
|
const language = 'php';
|
|
|
|
const code = document.createElement('code');
|
|
code.className = 'language-' + language;
|
|
pre.textContent = '';
|
|
pre.setAttribute('data-line', line)
|
|
code.textContent = 'Loading…';
|
|
pre.appendChild(code);
|
|
|
|
var xhr = new XMLHttpRequest();
|
|
|
|
xhr.open('GET', src, true);
|
|
|
|
xhr.onreadystatechange = function () {
|
|
if (xhr.readyState !== 4) {
|
|
return;
|
|
}
|
|
|
|
if (xhr.status < 400 && xhr.responseText) {
|
|
code.textContent = xhr.responseText;
|
|
Prism.highlightElement(code);
|
|
return;
|
|
}
|
|
|
|
if (xhr.status === 404) {
|
|
code.textContent = '✖ Error: File could not be found';
|
|
return;
|
|
}
|
|
|
|
if (xhr.status >= 400) {
|
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
|
return;
|
|
}
|
|
|
|
code.textContent = '✖ Error: An unknown error occurred';
|
|
};
|
|
|
|
xhr.send(null);
|
|
});
|
|
}
|
|
|
|
const modalButtons = document.querySelectorAll("[data-modal]");
|
|
const openedAsLocalFile = window.location.protocol === 'file:';
|
|
if (modalButtons.length > 0 && openedAsLocalFile) {
|
|
console.warn(
|
|
'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
|
|
'browsers block XHR requests when a page is opened this way'
|
|
);
|
|
}
|
|
|
|
modalButtons.forEach(function (trigger) {
|
|
if (openedAsLocalFile) {
|
|
trigger.setAttribute("hidden", "hidden");
|
|
}
|
|
|
|
trigger.addEventListener("click", function (event) {
|
|
event.preventDefault();
|
|
const modal = document.getElementById(trigger.dataset.modal);
|
|
if (!modal) {
|
|
console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
|
|
return;
|
|
}
|
|
modal.classList.add("phpdocumentor-modal__open");
|
|
|
|
loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
|
|
const exits = modal.querySelectorAll("[data-exit-button]");
|
|
exits.forEach(function (exit) {
|
|
exit.addEventListener("click", function (event) {
|
|
event.preventDefault();
|
|
modal.classList.remove("phpdocumentor-modal__open");
|
|
});
|
|
});
|
|
});
|
|
});
|
|
})();
|
|
</script>
|
|
|
|
</article>
|
|
</section>
|
|
<section class="phpdocumentor-on-this-page__sidebar">
|
|
|
|
<section class="phpdocumentor-on-this-page__content">
|
|
<strong class="phpdocumentor-on-this-page__title">On this page</strong>
|
|
|
|
<ul class="phpdocumentor-list -clean">
|
|
<li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
|
|
<li>
|
|
<ul class="phpdocumentor-list -clean">
|
|
<li><a href="classes/MainWP-Child-MainWP-Child-Actions.html#toc-properties">Properties</a></li>
|
|
<li><a href="classes/MainWP-Child-MainWP-Child-Actions.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-Actions.html#property_current_plugins_info">$current_plugins_info</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Actions.html#property_current_themes_info">$current_themes_info</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Actions.html#property_actions_data">$actions_data</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Actions.html#property_connected_admin">$connected_admin</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Actions.html#property_init_actions">$init_actions</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Actions.html#property_instance">$instance</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Actions.html#property_sending">$sending</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Actions.html#property_exec_start">$exec_start</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-Actions.html#method___construct">__construct()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_callback">callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_callback__core_updated_successfully">callback__core_updated_successfully()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_callback_activate_plugin">callback_activate_plugin()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_callback_automatic_updates_complete">callback_automatic_updates_complete()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_callback_deactivate_plugin">callback_deactivate_plugin()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_callback_delete_site_transient_update_themes">callback_delete_site_transient_update_themes()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_callback_deleted_plugin">callback_deleted_plugin()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_callback_pre_option_uninstall_plugins">callback_pre_option_uninstall_plugins()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_callback_switch_theme">callback_switch_theme()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_callback_upgrader_pre_install">callback_upgrader_pre_install()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_callback_upgrader_process_complete">callback_upgrader_process_complete()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_check_actions_data">check_actions_data()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_delete_actions">delete_actions()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_get_actions_data">get_actions_data()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_get_class_name">get_class_name()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_get_current_agent">get_current_agent()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_get_current_plugins_info">get_current_plugins_info()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_get_current_themes_info">get_current_themes_info()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_get_display_name">get_display_name()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_get_exec_time">get_exec_time()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_get_instance">get_instance()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_get_plugins">get_plugins()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_get_valid_action">get_valid_action()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_get_valid_context">get_valid_context()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_init_custom_hooks">init_custom_hooks()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_init_exec_time">init_exec_time()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_init_hooks">init_hooks()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_is_cron_enabled">is_cron_enabled()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_is_doing_wp_cron">is_doing_wp_cron()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_save_actions">save_actions()</a></li>
|
|
<li class=""><a href="classes/MainWP-Child-MainWP-Child-Actions.html#method_update_actions_data">update_actions_data()</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-Actions.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>
|