mirror of
https://gh.wpcy.net/https://github.com/mainwp/mainwp.dev.git
synced 2026-07-16 17:22:04 +08:00
6047 lines
330 KiB
HTML
6047 lines
330 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>MainWP Dashboard 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 Dashboard 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-dashboard.html" class="">Dashboard</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/MainWPDashboard.html" class="">MainWPDashboard</a>
|
|
</h4>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWPAPIManagerKeyHandler.html" class="">MainWPAPIManagerKeyHandler</a>
|
|
</h4>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWPMainWP.html" class="">MainWPMainWP</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="packages/MainWPMainWP-API.html" class="">API</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="packages/MainWPMainWP-Keys.html" class="">Keys</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="packages/MainWPMainWP-Client.html" class="">Client</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWPAPIManagerUpdateHandler.html" class="">MainWPAPIManagerUpdateHandler</a>
|
|
</h4>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWPMainWPAPIManager.html" class="">MainWPMainWPAPIManager</a>
|
|
</h4>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWP.html" class="">MainWP</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="packages/MainWP-Dashboard.html" class="">Dashboard</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="packages/MainWP-DashboardMainWPsitesclientlist.html" class="">DashboardMainWPsitesclientlist</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="packages/MainWP-DashboardThisclasshandlesthe.html" class="">DashboardThisclasshandlesthe</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="packages/MainWP-DashboardMainWPsitesmonitoringlist.html" class="">DashboardMainWPsitesmonitoringlist</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="packages/MainWP-DashboardCheckforpremiumpluginupdates.html" class="">DashboardCheckforpremiumpluginupdates</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWPSettings.html" class="">MainWPSettings</a>
|
|
</h4>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWPBackups.html" class="">MainWPBackups</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="packages/MainWPBackups-Continue.html" class="">Continue</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWPBootstrap.html" class="">MainWPBootstrap</a>
|
|
</h4>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWPUpdates.html" class="">MainWPUpdates</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="packages/MainWPUpdates-Check.html" class="">Check</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="packages/MainWPUpdates-Overview.html" class="">Overview</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWPPingChilds.html" class="">MainWPPingChilds</a>
|
|
</h4>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWPStats.html" class="">MainWPStats</a>
|
|
</h4>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWPExtensions.html" class="">MainWPExtensions</a>
|
|
</h4>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWPSecurtiy.html" class="">MainWPSecurtiy</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="packages/MainWPSecurtiy-Issues.html" class="">Issues</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWPSetup.html" class="">MainWPSetup</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="packages/MainWPSetup-Wizard.html" class="">Wizard</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWPSite.html" class="">MainWPSite</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="packages/MainWPSite-Open.html" class="">Open</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWPThemes.html" class="">MainWPThemes</a>
|
|
</h4>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWPUser.html" class="">MainWPUser</a>
|
|
</h4>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWPWidget.html" class="">MainWPWidget</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="packages/MainWPWidget-Mainwp.html" class="">Mainwp</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="packages/MainWPWidget-Recent.html" class="">Recent</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWPPlugins.html" class="">MainWPPlugins</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-dashboard.html">Dashboard</a></li>
|
|
</ul>
|
|
|
|
<article class="phpdocumentor-element -class">
|
|
<h2 class="phpdocumentor-content__title">
|
|
Rest_Api_V1
|
|
|
|
|
|
<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-Dashboard.html">Dashboard</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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">33</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.33" class="phpdocumentor-element-found-in__source" data-line="33" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Class Rest_Api_V1</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3 id="toc">
|
|
Table of Contents
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4 id="toc-properties">
|
|
Properties
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#toc-properties" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<dl class="phpdocumentor-table-of-contents">
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#property_api_version">$api_version</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Protected variable to hold the API version.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#property_enabled_api">$enabled_api</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Private variable enabled api.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#property_instance">$instance</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Protected static variable to hold the single instance of the class.</dd>
|
|
|
|
</dl>
|
|
|
|
<h4 id="toc-methods">
|
|
Methods
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.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-Dashboard-Rest-Api-V1.html#method_hook_rest_api_enabled">hook_rest_api_enabled()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Method hook_rest_api_enabled()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_hook_rest_api_v2_enabled">hook_rest_api_v2_enabled()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Method hook_rest_api_enabled()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_init">init()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Method init()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_instance">instance()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Method instance()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_is_rest_api_enabled">is_rest_api_enabled()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Method is_rest_api_enabled()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_authentication_error">mainwp_authentication_error()</a>
|
|
<span>
|
|
: array<string|int, mixed> </span>
|
|
</dt>
|
|
<dd>Method mainwp_authentication_error()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_invalid_data_error">mainwp_invalid_data_error()</a>
|
|
<span>
|
|
: array<string|int, mixed> </span>
|
|
</dt>
|
|
<dd>Method mainwp_invalid_data_error()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_missing_data_error">mainwp_missing_data_error()</a>
|
|
<span>
|
|
: array<string|int, mixed> </span>
|
|
</dt>
|
|
<dd>Method mainwp_missing_data_error()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_permission_check_request">mainwp_permission_check_request()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Method mainwp_permission_check_request()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_register_routes">mainwp_register_routes()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_init()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_add_client_callback">mainwp_rest_api_add_client_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_add_client_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_add_site_callback">mainwp_rest_api_add_site_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_add_site_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_all_clients_callback">mainwp_rest_api_all_clients_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_all_clients_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_all_sites_callback">mainwp_rest_api_all_sites_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_all_sites_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_all_sites_count_callback">mainwp_rest_api_all_sites_count_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_all_sites_count_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_all_tags_callback">mainwp_rest_api_all_tags_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_all_tags_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_available_updates_callback">mainwp_rest_api_available_updates_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_available_updates_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_check_site_http_status_callback">mainwp_rest_api_check_site_http_status_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_check_site_http_status_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_check_sites_callback">mainwp_rest_api_check_sites_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_check_sites_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_connected_sites_callback">mainwp_rest_api_connected_sites_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_connected_sites_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_connected_sites_count_callback">mainwp_rest_api_connected_sites_count_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_connected_sites_count_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_disconnect_site_callback">mainwp_rest_api_disconnect_site_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_disconnect_site_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_disconnect_sites_callback">mainwp_rest_api_disconnect_sites_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_disconnect_sites_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_disconnected_sites_callback">mainwp_rest_api_disconnected_sites_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_disconnected_sites_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_disconnected_sites_count_callback">mainwp_rest_api_disconnected_sites_count_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_disconnected_sites_count_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_edit_client_callback">mainwp_rest_api_edit_client_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_edit_client_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_edit_site_callback">mainwp_rest_api_edit_site_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_edit_site_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_get_sites_by_client_callback">mainwp_rest_api_get_sites_by_client_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_get_sites_by_client_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_get_sites_by_url_callback">mainwp_rest_api_get_sites_by_url_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_get_sites_by_url_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_health_score_callback">mainwp_rest_api_health_score_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_health_score_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_http_status_callback">mainwp_rest_api_http_status_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_http_status_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_ignore_update_callback">mainwp_rest_api_ignore_update_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_ignore_update_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_ignore_updates_callback">mainwp_rest_api_ignore_updates_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_ignore_updates_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_ignored_plugins_updates_callback">mainwp_rest_api_ignored_plugins_updates_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_ignored_plugins_updates_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_ignored_themes_updates_callback">mainwp_rest_api_ignored_themes_updates_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_ignored_themes_updates_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_non_mainwp_changes_callback">mainwp_rest_api_non_mainwp_changes_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_non_mainwp_changes_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_non_mainwp_changes_count_callback">mainwp_rest_api_non_mainwp_changes_count_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_non_mainwp_changes_count_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_reconnect_site_callback">mainwp_rest_api_reconnect_site_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_reconnect_site_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_remove_client_callback">mainwp_rest_api_remove_client_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_remove_client_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_remove_site_callback">mainwp_rest_api_remove_site_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_remove_site_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_security_issues_callback">mainwp_rest_api_security_issues_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_security_issues_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_abandoned_plugins_callback">mainwp_rest_api_site_abandoned_plugins_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_site_abandoned_plugins_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_abandoned_plugins_count_callback">mainwp_rest_api_site_abandoned_plugins_count_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_site_abandoned_plugins_count_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_abandoned_themes_callback">mainwp_rest_api_site_abandoned_themes_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_site_abandoned_themes_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_abandoned_themes_count_callback">mainwp_rest_api_site_abandoned_themes_count_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_site_abandoned_themes_count_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_active_plugins_callback">mainwp_rest_api_site_active_plugins_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_site_active_plugins_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_active_plugins_count_callback">mainwp_rest_api_site_active_plugins_count_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_site_active_plugins_count_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_active_themes_callback">mainwp_rest_api_site_active_themes_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_site_active_themes_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_available_updates_callback">mainwp_rest_api_site_available_updates_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_site_available_updates_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_available_updates_count_callback">mainwp_rest_api_site_available_updates_count_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_site_available_updates_count_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_callback">mainwp_rest_api_site_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_site_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_health_score_callback">mainwp_rest_api_site_health_score_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_site_health_score_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_http_status_callback">mainwp_rest_api_site_http_status_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_site_http_status_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_ignored_plugins_updates_callback">mainwp_rest_api_site_ignored_plugins_updates_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_site_ignored_plugins_updates_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_ignored_themes_updates_callback">mainwp_rest_api_site_ignored_themes_updates_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_site_ignored_themes_updates_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_inactive_plugins_callback">mainwp_rest_api_site_inactive_plugins_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_site_inactive_plugins_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_inactive_plugins_count_callback">mainwp_rest_api_site_inactive_plugins_count_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_site_inactive_plugins_count_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_inactive_themes_callback">mainwp_rest_api_site_inactive_themes_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_site_inactive_themes_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_inactive_themes_count_callback">mainwp_rest_api_site_inactive_themes_count_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_site_inactive_themes_count_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_info_callback">mainwp_rest_api_site_info_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_site_info_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_installed_plugins_callback">mainwp_rest_api_site_installed_plugins_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_site_installed_plugins_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_installed_plugins_count_callback">mainwp_rest_api_site_installed_plugins_count_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_site_installed_plugins_count_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_installed_themes_callback">mainwp_rest_api_site_installed_themes_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_site_installed_themes_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_installed_themes_count_callback">mainwp_rest_api_site_installed_themes_count_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_site_installed_themes_count_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_manage_plugin_callback">mainwp_rest_api_site_manage_plugin_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_site_manage_plugin_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_manage_theme_callback">mainwp_rest_api_site_manage_theme_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_site_manage_theme_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_security_issues_callback">mainwp_rest_api_site_security_issues_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_site_security_issues_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_update_item_callback">mainwp_rest_api_site_update_item_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_site_update_item_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_update_plugins_callback">mainwp_rest_api_site_update_plugins_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_site_update_plugins_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_update_themes_callback">mainwp_rest_api_site_update_themes_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_site_update_themes_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_update_translations_callback">mainwp_rest_api_site_update_translations_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_site_update_translations_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_update_wordpress_callback">mainwp_rest_api_site_update_wordpress_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_site_update_wordpress_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_sites_available_updates_count_callback">mainwp_rest_api_sites_available_updates_count_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_sites_available_updates_count_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_sync_site_callback">mainwp_rest_api_sync_site_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_sync_site_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_sync_sites_callback">mainwp_rest_api_sync_sites_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_sync_sites_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_unignore_update_callback">mainwp_rest_api_unignore_update_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_unignore_update_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_unignore_updates_callback">mainwp_rest_api_unignore_updates_callback()</a>
|
|
<span>
|
|
: object </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_unignore_updates_callback()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_run_process_success">mainwp_run_process_success()</a>
|
|
<span>
|
|
: array<string|int, mixed> </span>
|
|
</dt>
|
|
<dd>Method mainwp_run_process_success()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_validate_request">mainwp_validate_request()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Method mainwp_rest_api_init()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_rest_api_validate">rest_api_validate()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Method rest_api_validate()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_enabled_rest_v1_api">enabled_rest_v1_api()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Method enabled_rest_v1_api()</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a class="" href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_enabled_rest_v2_api">enabled_rest_v2_api()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Method enabled_rest_v2_api()</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-properties">
|
|
<h3 class="phpdocumentor-elements__header" id="properties">
|
|
Properties
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h3>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_api_version">
|
|
$api_version
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#property_api_version" 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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">49</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.49" class="phpdocumentor-element-found-in__source" data-line="49" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Protected variable to hold the API version.</p>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type">string</span>
|
|
<span class="phpdocumentor-signature__name">$api_version</span>
|
|
= <span class="phpdocumentor-signature__default-value">'1'</span></code>
|
|
|
|
|
|
<section class="phpdocumentor-description"><p>API version</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_enabled_api">
|
|
$enabled_api
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#property_enabled_api" 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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">56</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.56" class="phpdocumentor-element-found-in__source" data-line="56" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Private variable enabled api.</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">bool</span>
|
|
<span class="phpdocumentor-signature__name">$enabled_api</span>
|
|
= <span class="phpdocumentor-signature__default-value">null</span></code>
|
|
|
|
|
|
<section class="phpdocumentor-description"><p>API enabled.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_instance">
|
|
$instance
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">42</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.42" class="phpdocumentor-element-found-in__source" data-line="42" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Protected static variable to hold the single instance of the class.</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">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>
|
|
</section>
|
|
|
|
<section class="phpdocumentor-methods">
|
|
<h3 class="phpdocumentor-elements__header" id="methods">
|
|
Methods
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.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_hook_rest_api_enabled">
|
|
hook_rest_api_enabled()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_hook_rest_api_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">145</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.145" class="phpdocumentor-element-found-in__source" data-line="145" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method hook_rest_api_enabled()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">hook_rest_api_enabled</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>Hook to check if Enabled the REST API.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_hook_rest_api_v2_enabled">
|
|
hook_rest_api_v2_enabled()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_hook_rest_api_v2_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">154</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.154" class="phpdocumentor-element-found-in__source" data-line="154" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method hook_rest_api_enabled()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">hook_rest_api_v2_enabled</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>Hook to check if Enabled the REST API.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_init">
|
|
init()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_init" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">79</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.79" class="phpdocumentor-element-found-in__source" data-line="79" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method init()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">init</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>Adds an action to generate API credentials.
|
|
Adds an action to create the rest API endpoints if activated in the plugin settings.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_instance">
|
|
instance()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_instance" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">66</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.66" class="phpdocumentor-element-found-in__source" data-line="66" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.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">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 public static instance.</p>
|
|
</section>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_instance#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">static</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">@return</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>static::$instance</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_is_rest_api_enabled">
|
|
is_rest_api_enabled()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_is_rest_api_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">97</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.97" class="phpdocumentor-element-found-in__source" data-line="97" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method is_rest_api_enabled()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">is_rest_api_enabled</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>Check if Enabled the REST API.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_authentication_error">
|
|
mainwp_authentication_error()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_authentication_error" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">698</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.698" class="phpdocumentor-element-found-in__source" data-line="698" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_authentication_error()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_authentication_error</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 class="phpdocumentor-description"><p>Common error message when consumer key and secret are wrong.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, mixed></span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response Array with an error message explaining that the credentials are wrong.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_invalid_data_error">
|
|
mainwp_invalid_data_error()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_invalid_data_error" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">734</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.734" class="phpdocumentor-element-found-in__source" data-line="734" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_invalid_data_error()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_invalid_data_error</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$error</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">''</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, mixed></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Common error message when data in request is ivalid.</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">$error</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">''</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Error message.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, mixed></span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response Array with an error message explaining details are missing.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_missing_data_error">
|
|
mainwp_missing_data_error()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_missing_data_error" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">715</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.715" class="phpdocumentor-element-found-in__source" data-line="715" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_missing_data_error()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_missing_data_error</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 class="phpdocumentor-description"><p>Common error message when data is missing from the request.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, mixed></span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response Array with an error message explaining details are missing.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_permission_check_request">
|
|
mainwp_permission_check_request()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_permission_check_request" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">618</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.618" class="phpdocumentor-element-found-in__source" data-line="618" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_permission_check_request()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_permission_check_request</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</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">$item</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Check request permissions.</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$item</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>API Keys using.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_permission_check_request#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">throws</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\MainWP_Exception">MainWP_Exception</abbr></span>
|
|
|
|
<section class="phpdocumentor-description"><p>Request permissions check.</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>Whether the api permissions are valid.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_register_routes">
|
|
mainwp_register_routes()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_register_routes" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">164</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.164" class="phpdocumentor-element-found-in__source" data-line="164" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_init()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_register_routes</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>Creates the necessary endpoints for the api.
|
|
Note, for a request to be successful the URL query parameters consumer_key and consumer_secret need to be set and correct.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_add_client_callback">
|
|
mainwp_rest_api_add_client_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_add_client_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">4015</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.4015" class="phpdocumentor-element-found-in__source" data-line="4015" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_add_client_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_add_client_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: add-client
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/client/add-client
|
|
API Method: POST</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_add_site_callback">
|
|
mainwp_rest_api_add_site_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_add_site_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">2648</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.2648" class="phpdocumentor-element-found-in__source" data-line="2648" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_add_site_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_add_site_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: add-site
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/site/add-site
|
|
API Method: POST</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_all_clients_callback">
|
|
mainwp_rest_api_all_clients_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_all_clients_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">4130</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.4130" class="phpdocumentor-element-found-in__source" data-line="4130" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_all_clients_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_all_clients_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: all-clients
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/clients/all-clients
|
|
API Method: GET</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_all_sites_callback">
|
|
mainwp_rest_api_all_sites_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_all_sites_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">776</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.776" class="phpdocumentor-element-found-in__source" data-line="776" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_all_sites_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_all_sites_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: all-sites
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/sites/all-sites
|
|
API Method: GET</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_all_sites_count_callback">
|
|
mainwp_rest_api_all_sites_count_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_all_sites_count_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">826</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.826" class="phpdocumentor-element-found-in__source" data-line="826" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_all_sites_count_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_all_sites_count_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: all-sites-count
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/sites/all-sites-count
|
|
API Method: GET</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_all_tags_callback">
|
|
mainwp_rest_api_all_tags_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_all_tags_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">4176</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.4176" class="phpdocumentor-element-found-in__source" data-line="4176" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_all_tags_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_all_tags_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: all-tags
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/tags/all-tags
|
|
API Method: GET</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_available_updates_callback">
|
|
mainwp_rest_api_available_updates_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_available_updates_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">3597</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.3597" class="phpdocumentor-element-found-in__source" data-line="3597" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_available_updates_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_available_updates_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: available-updates
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/updates/available-updates
|
|
API Method: GET</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_check_site_http_status_callback">
|
|
mainwp_rest_api_check_site_http_status_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_check_site_http_status_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">3408</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.3408" class="phpdocumentor-element-found-in__source" data-line="3408" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_check_site_http_status_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_check_site_http_status_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: check-site-http-status
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/site/check-site-http-status
|
|
API Method: POST</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_check_sites_callback">
|
|
mainwp_rest_api_check_sites_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_check_sites_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1060</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.1060" class="phpdocumentor-element-found-in__source" data-line="1060" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_check_sites_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_check_sites_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: check-sites
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/sites/check-sites
|
|
API Method: POST</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_connected_sites_callback">
|
|
mainwp_rest_api_connected_sites_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_connected_sites_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">865</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.865" class="phpdocumentor-element-found-in__source" data-line="865" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_connected_sites_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_connected_sites_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: connected-sites
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/sites/connected-sites
|
|
API Method: GET</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_connected_sites_count_callback">
|
|
mainwp_rest_api_connected_sites_count_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_connected_sites_count_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">900</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.900" class="phpdocumentor-element-found-in__source" data-line="900" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_connected_sites_count_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_connected_sites_count_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: connected-sites-count
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/sites/connected-sites-count
|
|
API Method: GET</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_disconnect_site_callback">
|
|
mainwp_rest_api_disconnect_site_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_disconnect_site_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">2837</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.2837" class="phpdocumentor-element-found-in__source" data-line="2837" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_disconnect_site_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_disconnect_site_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: disconnect-site
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/sites/disconnect-site
|
|
API Method: POST</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_disconnect_sites_callback">
|
|
mainwp_rest_api_disconnect_sites_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_disconnect_sites_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1105</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.1105" class="phpdocumentor-element-found-in__source" data-line="1105" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_disconnect_sites_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_disconnect_sites_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: disconnect-sites
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/sites/disconnect-sites
|
|
API Method: POST</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_disconnected_sites_callback">
|
|
mainwp_rest_api_disconnected_sites_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_disconnected_sites_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">939</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.939" class="phpdocumentor-element-found-in__source" data-line="939" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_disconnected_sites_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_disconnected_sites_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: disconnected-sites
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/sites/disconnected-sites
|
|
API Method: GET</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_disconnected_sites_count_callback">
|
|
mainwp_rest_api_disconnected_sites_count_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_disconnected_sites_count_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">974</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.974" class="phpdocumentor-element-found-in__source" data-line="974" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_disconnected_sites_count_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_disconnected_sites_count_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: disconnected-sites-count
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/sites/disconnected-sites-count
|
|
API Method: GET</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_edit_client_callback">
|
|
mainwp_rest_api_edit_client_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_edit_client_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">4055</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.4055" class="phpdocumentor-element-found-in__source" data-line="4055" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_edit_client_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_edit_client_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: edit-client
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/client/edit-client
|
|
API Method: PUT</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_edit_site_callback">
|
|
mainwp_rest_api_edit_site_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_edit_site_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">2685</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.2685" class="phpdocumentor-element-found-in__source" data-line="2685" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_edit_site_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_edit_site_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: edit-site
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/site/edit-site
|
|
API Method: PUT</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_get_sites_by_client_callback">
|
|
mainwp_rest_api_get_sites_by_client_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_get_sites_by_client_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1351</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.1351" class="phpdocumentor-element-found-in__source" data-line="1351" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_get_sites_by_client_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_get_sites_by_client_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: get-sites-by-client
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/sites/get-sites-by-client
|
|
API Method: GET</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_get_sites_by_url_callback">
|
|
mainwp_rest_api_get_sites_by_url_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_get_sites_by_url_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1296</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.1296" class="phpdocumentor-element-found-in__source" data-line="1296" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_get_sites_by_url_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_get_sites_by_url_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: get-sites-by-url
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/sites/get-sites-by-url
|
|
API Method: GET</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_health_score_callback">
|
|
mainwp_rest_api_health_score_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_health_score_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1182</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.1182" class="phpdocumentor-element-found-in__source" data-line="1182" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_health_score_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_health_score_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: health-score
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/sites/health-score
|
|
API Method: POST</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_http_status_callback">
|
|
mainwp_rest_api_http_status_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_http_status_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1147</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.1147" class="phpdocumentor-element-found-in__source" data-line="1147" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_http_status_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_http_status_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: http-status
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/sites/http-status
|
|
API Method: POST</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_ignore_update_callback">
|
|
mainwp_rest_api_ignore_update_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_ignore_update_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">3881</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.3881" class="phpdocumentor-element-found-in__source" data-line="3881" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_ignore_update_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_ignore_update_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: ignore-update
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/updates/ignore-update
|
|
API Method: POST</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_ignore_updates_callback">
|
|
mainwp_rest_api_ignore_updates_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_ignore_updates_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">3836</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.3836" class="phpdocumentor-element-found-in__source" data-line="3836" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_ignore_updates_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_ignore_updates_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: ignore-updates
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/updates/ignore-updates
|
|
API Method: POST</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_ignored_plugins_updates_callback">
|
|
mainwp_rest_api_ignored_plugins_updates_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_ignored_plugins_updates_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">3660</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.3660" class="phpdocumentor-element-found-in__source" data-line="3660" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_ignored_plugins_updates_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_ignored_plugins_updates_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: ignored-plugins-updates
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/updates/ignored-plugins-updates
|
|
API Method: GET</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_ignored_themes_updates_callback">
|
|
mainwp_rest_api_ignored_themes_updates_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_ignored_themes_updates_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">3748</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.3748" class="phpdocumentor-element-found-in__source" data-line="3748" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_ignored_themes_updates_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_ignored_themes_updates_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: ignored-themes-updates
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/updates/ignored-themes-updates
|
|
API Method: GET</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_non_mainwp_changes_callback">
|
|
mainwp_rest_api_non_mainwp_changes_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_non_mainwp_changes_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">3459</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.3459" class="phpdocumentor-element-found-in__source" data-line="3459" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_non_mainwp_changes_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_non_mainwp_changes_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: non-mainwp-changes
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/site/non-mainwp-changes
|
|
API Method: GET</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_non_mainwp_changes_count_callback">
|
|
mainwp_rest_api_non_mainwp_changes_count_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_non_mainwp_changes_count_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">3524</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.3524" class="phpdocumentor-element-found-in__source" data-line="3524" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_non_mainwp_changes_count_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_non_mainwp_changes_count_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: non-mainwp-changes-count
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/site/non-mainwp-changes-count
|
|
API Method: GET</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_reconnect_site_callback">
|
|
mainwp_rest_api_reconnect_site_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_reconnect_site_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">2786</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.2786" class="phpdocumentor-element-found-in__source" data-line="2786" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_reconnect_site_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_reconnect_site_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: reconnect-site
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/sites/reconnect-site
|
|
API Method: POST</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_remove_client_callback">
|
|
mainwp_rest_api_remove_client_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_remove_client_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">4094</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.4094" class="phpdocumentor-element-found-in__source" data-line="4094" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_remove_client_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_remove_client_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: remove-client
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/client/remove-client
|
|
API Method: GET</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_remove_site_callback">
|
|
mainwp_rest_api_remove_site_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_remove_site_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">2888</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.2888" class="phpdocumentor-element-found-in__source" data-line="2888" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_remove_site_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_remove_site_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: remove-site
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/site/remove-site
|
|
API Method: DELETE</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_security_issues_callback">
|
|
mainwp_rest_api_security_issues_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_security_issues_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1228</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.1228" class="phpdocumentor-element-found-in__source" data-line="1228" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_security_issues_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_security_issues_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: security-issues
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/sites/security-issues
|
|
API Method: POST</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_site_abandoned_plugins_callback">
|
|
mainwp_rest_api_site_abandoned_plugins_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_abandoned_plugins_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">2269</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.2269" class="phpdocumentor-element-found-in__source" data-line="2269" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_site_abandoned_plugins_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_site_abandoned_plugins_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: site-abandoned-plugins
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/site/site-abandoned-plugins
|
|
API Method: GET</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_site_abandoned_plugins_count_callback">
|
|
mainwp_rest_api_site_abandoned_plugins_count_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_abandoned_plugins_count_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">2321</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.2321" class="phpdocumentor-element-found-in__source" data-line="2321" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_site_abandoned_plugins_count_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_site_abandoned_plugins_count_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: site-abandoned-plugins-count
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/site/site-abandoned-plugins-count
|
|
API Method: GET</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_site_abandoned_themes_callback">
|
|
mainwp_rest_api_site_abandoned_themes_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_abandoned_themes_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">2377</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.2377" class="phpdocumentor-element-found-in__source" data-line="2377" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_site_abandoned_themes_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_site_abandoned_themes_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: site-abandoned-themes
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/site/site-abandoned-themes
|
|
API Method: GET</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_site_abandoned_themes_count_callback">
|
|
mainwp_rest_api_site_abandoned_themes_count_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_abandoned_themes_count_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">2429</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.2429" class="phpdocumentor-element-found-in__source" data-line="2429" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_site_abandoned_themes_count_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_site_abandoned_themes_count_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: site-abandoned-themes-count
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/site/site-abandoned-themes-count
|
|
API Method: GET</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_site_active_plugins_callback">
|
|
mainwp_rest_api_site_active_plugins_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_active_plugins_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1642</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.1642" class="phpdocumentor-element-found-in__source" data-line="1642" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_site_active_plugins_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_site_active_plugins_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: site-active-plugins
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/site/site-active-plugins
|
|
API Method: GET</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_site_active_plugins_count_callback">
|
|
mainwp_rest_api_site_active_plugins_count_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_active_plugins_count_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1694</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.1694" class="phpdocumentor-element-found-in__source" data-line="1694" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_site_active_plugins_count_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_site_active_plugins_count_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: site-active-plugins-count
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/site/site-active-plugins-count
|
|
API Method: GET</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_site_active_themes_callback">
|
|
mainwp_rest_api_site_active_themes_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_active_themes_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1961</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.1961" class="phpdocumentor-element-found-in__source" data-line="1961" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_site_active_themes_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_site_active_themes_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: site-active-themes
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/site/site-active-themes
|
|
API Method: GET</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_site_available_updates_callback">
|
|
mainwp_rest_api_site_available_updates_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_available_updates_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">2120</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.2120" class="phpdocumentor-element-found-in__source" data-line="2120" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_site_available_updates_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_site_available_updates_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: site-available-updates
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/site/site-available-updates
|
|
API Method: GET</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_site_available_updates_count_callback">
|
|
mainwp_rest_api_site_available_updates_count_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_available_updates_count_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">2191</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.2191" class="phpdocumentor-element-found-in__source" data-line="2191" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_site_available_updates_count_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_site_available_updates_count_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: site-available-updates-count
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/site/site-available-updates-count
|
|
API Method: GET</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_site_callback">
|
|
mainwp_rest_api_site_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1409</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.1409" class="phpdocumentor-element-found-in__source" data-line="1409" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_site_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_site_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: site
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/site/site
|
|
API Method: GET</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_site_health_score_callback">
|
|
mainwp_rest_api_site_health_score_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_health_score_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">2536</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.2536" class="phpdocumentor-element-found-in__source" data-line="2536" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_site_health_score_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_site_health_score_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: site-health-score
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/site/site-health-score
|
|
API Method: GET</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_site_http_status_callback">
|
|
mainwp_rest_api_site_http_status_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_http_status_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">2485</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.2485" class="phpdocumentor-element-found-in__source" data-line="2485" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_site_http_status_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_site_http_status_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: site-http-status
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/site/site-http-status
|
|
API Method: GET</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_site_ignored_plugins_updates_callback">
|
|
mainwp_rest_api_site_ignored_plugins_updates_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_ignored_plugins_updates_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">3697</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.3697" class="phpdocumentor-element-found-in__source" data-line="3697" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_site_ignored_plugins_updates_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_site_ignored_plugins_updates_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: site-ignored-plugins-updates
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/updates/site-ignored-plugins-updates
|
|
API Method: GET</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_site_ignored_themes_updates_callback">
|
|
mainwp_rest_api_site_ignored_themes_updates_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_ignored_themes_updates_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">3785</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.3785" class="phpdocumentor-element-found-in__source" data-line="3785" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_site_ignored_themes_updates_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_site_ignored_themes_updates_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: site-ignored-themes-updates
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/updates/site-ignored-themes-updates
|
|
API Method: GET</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_site_inactive_plugins_callback">
|
|
mainwp_rest_api_site_inactive_plugins_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_inactive_plugins_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1749</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.1749" class="phpdocumentor-element-found-in__source" data-line="1749" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_site_inactive_plugins_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_site_inactive_plugins_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: site-inactive-plugins
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/site/site-inactive-plugins
|
|
API Method: GET</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_site_inactive_plugins_count_callback">
|
|
mainwp_rest_api_site_inactive_plugins_count_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_inactive_plugins_count_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1801</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.1801" class="phpdocumentor-element-found-in__source" data-line="1801" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_site_inactive_plugins_count_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_site_inactive_plugins_count_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: site-inactive-plugins-count
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/site/site-inactive-plugins-count
|
|
API Method: GET</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_site_inactive_themes_callback">
|
|
mainwp_rest_api_site_inactive_themes_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_inactive_themes_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">2013</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.2013" class="phpdocumentor-element-found-in__source" data-line="2013" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_site_inactive_themes_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_site_inactive_themes_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: site-inactive-themes
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/site/site-inactive-themes
|
|
API Method: GET</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_site_inactive_themes_count_callback">
|
|
mainwp_rest_api_site_inactive_themes_count_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_inactive_themes_count_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">2065</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.2065" class="phpdocumentor-element-found-in__source" data-line="2065" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_site_inactive_themes_count_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_site_inactive_themes_count_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: site-inactive-themes-count
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/site/site-inactive-themes-count
|
|
API Method: GET</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_site_info_callback">
|
|
mainwp_rest_api_site_info_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_info_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1485</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.1485" class="phpdocumentor-element-found-in__source" data-line="1485" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_site_info_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_site_info_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: site-info
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/site/site-info
|
|
API Method: GET</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_site_installed_plugins_callback">
|
|
mainwp_rest_api_site_installed_plugins_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_installed_plugins_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1537</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.1537" class="phpdocumentor-element-found-in__source" data-line="1537" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_site_installed_plugins_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_site_installed_plugins_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: site-installed-plugins
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/site/site-installed-plugins
|
|
API Method: GET</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_site_installed_plugins_count_callback">
|
|
mainwp_rest_api_site_installed_plugins_count_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_installed_plugins_count_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1588</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.1588" class="phpdocumentor-element-found-in__source" data-line="1588" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_site_installed_plugins_count_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_site_installed_plugins_count_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: site-installed-plugins-count
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/site/site-installed-plugins-count
|
|
API Method: GET</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_site_installed_themes_callback">
|
|
mainwp_rest_api_site_installed_themes_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_installed_themes_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1856</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.1856" class="phpdocumentor-element-found-in__source" data-line="1856" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_site_installed_themes_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_site_installed_themes_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: site-installed-themes
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/site/site-installed-themes
|
|
API Method: GET</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_site_installed_themes_count_callback">
|
|
mainwp_rest_api_site_installed_themes_count_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_installed_themes_count_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1907</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.1907" class="phpdocumentor-element-found-in__source" data-line="1907" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_site_installed_themes_count_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_site_installed_themes_count_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: site-installed-themes-count
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/site/site-installed-themes-count
|
|
API Method: GET</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_site_manage_plugin_callback">
|
|
mainwp_rest_api_site_manage_plugin_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_manage_plugin_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">3266</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.3266" class="phpdocumentor-element-found-in__source" data-line="3266" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_site_manage_plugin_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_site_manage_plugin_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: site-manage-plugin
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/site/site-manage-plugin
|
|
API Method: POST</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_site_manage_theme_callback">
|
|
mainwp_rest_api_site_manage_theme_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_manage_theme_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">3337</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.3337" class="phpdocumentor-element-found-in__source" data-line="3337" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_site_manage_theme_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_site_manage_theme_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: site-manage-theme
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/site/site-manage-theme
|
|
API Method: POST</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_site_security_issues_callback">
|
|
mainwp_rest_api_site_security_issues_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_security_issues_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">2597</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.2597" class="phpdocumentor-element-found-in__source" data-line="2597" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_site_security_issues_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_site_security_issues_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: site-security-issues
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/site/site-security-issues
|
|
API Method: get</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_site_update_item_callback">
|
|
mainwp_rest_api_site_update_item_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_update_item_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">3200</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.3200" class="phpdocumentor-element-found-in__source" data-line="3200" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_site_update_item_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_site_update_item_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: site-update-item
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/site/site-update-item
|
|
API Method: PUT</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_site_update_plugins_callback">
|
|
mainwp_rest_api_site_update_plugins_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_update_plugins_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">2991</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.2991" class="phpdocumentor-element-found-in__source" data-line="2991" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_site_update_plugins_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_site_update_plugins_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: site-update-plugins
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/site/site-update-plugins
|
|
API Method: PUT</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_site_update_themes_callback">
|
|
mainwp_rest_api_site_update_themes_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_update_themes_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">3066</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.3066" class="phpdocumentor-element-found-in__source" data-line="3066" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_site_update_themes_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_site_update_themes_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: site-update-themes
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/site/site-update-themes
|
|
API Method: PUT</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_site_update_translations_callback">
|
|
mainwp_rest_api_site_update_translations_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_update_translations_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">3137</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.3137" class="phpdocumentor-element-found-in__source" data-line="3137" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_site_update_translations_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_site_update_translations_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: site-update-translations
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/site/site-update-translations
|
|
API Method: PUT</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_site_update_wordpress_callback">
|
|
mainwp_rest_api_site_update_wordpress_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_update_wordpress_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">2937</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.2937" class="phpdocumentor-element-found-in__source" data-line="2937" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_site_update_wordpress_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_site_update_wordpress_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: site-update-wordpress
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/site/site-update-wordpress
|
|
API Method: PUT</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_sites_available_updates_count_callback">
|
|
mainwp_rest_api_sites_available_updates_count_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_sites_available_updates_count_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1266</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.1266" class="phpdocumentor-element-found-in__source" data-line="1266" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_sites_available_updates_count_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_sites_available_updates_count_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: sites-available-updates-count
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/sites/sites-available-updates-count
|
|
API Method: GET</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_sync_site_callback">
|
|
mainwp_rest_api_sync_site_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_sync_site_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">2736</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.2736" class="phpdocumentor-element-found-in__source" data-line="2736" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_sync_site_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_sync_site_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: sync-site
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/site/sync-site
|
|
API Method: POST</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_sync_sites_callback">
|
|
mainwp_rest_api_sync_sites_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_sync_sites_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1013</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.1013" class="phpdocumentor-element-found-in__source" data-line="1013" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_sync_sites_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_sync_sites_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: sync-sites
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/sites/sync-sites
|
|
API Method: POST</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_unignore_update_callback">
|
|
mainwp_rest_api_unignore_update_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_unignore_update_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">3970</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.3970" class="phpdocumentor-element-found-in__source" data-line="3970" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_unignore_update_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_unignore_update_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: unignore-update
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/updates/unignore-update
|
|
API Method: POST</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_rest_api_unignore_updates_callback">
|
|
mainwp_rest_api_unignore_updates_callback()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_unignore_updates_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="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">3926</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.3926" class="phpdocumentor-element-found-in__source" data-line="3926" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_unignore_updates_callback()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_rest_api_unignore_updates_callback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Callback function for managing the response to API requests made for the endpoint: unignore-updates
|
|
Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/updates/unignore-updates
|
|
API Method: POST</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">$request</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>The request made in the API call which includes all parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">object</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response An object that contains the return data and status of the API request.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_run_process_success">
|
|
mainwp_run_process_success()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_run_process_success" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">755</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.755" class="phpdocumentor-element-found-in__source" data-line="755" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_run_process_success()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_run_process_success</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 class="phpdocumentor-description"><p>Common error message when data is missing from the request.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, mixed></span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>$response Array with an error message explaining details are missing.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_mainwp_validate_request">
|
|
mainwp_validate_request()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_validate_request" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">530</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.530" class="phpdocumentor-element-found-in__source" data-line="530" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method mainwp_rest_api_init()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">mainwp_validate_request</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Makes sure the correct consumer key and secret are entered.</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">$request</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>The request made in the API call which includes all parameters.</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>Whether the api credentials are valid.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_rest_api_validate">
|
|
rest_api_validate()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_rest_api_validate" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">682</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.682" class="phpdocumentor-element-found-in__source" data-line="682" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method rest_api_validate()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">rest_api_validate</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$input_value</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">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Hook validate the request.</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">$input_value</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>input filter value, it should always be FALSE.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$request</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>The request made in the API call which includes all parameters.</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>Whether the api credentials are valid.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_enabled_rest_v1_api">
|
|
enabled_rest_v1_api()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_enabled_rest_v1_api" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">114</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.114" class="phpdocumentor-element-found-in__source" data-line="114" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method enabled_rest_v1_api()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">enabled_rest_v1_api</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>Check if enable the REST API.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_enabled_rest_v2_api">
|
|
enabled_rest_v2_api()
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_enabled_rest_v2_api" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php"><a href="files/includes-rest-api-controller-version1-class-mainwp-rest-api-v1.html"><abbr title="includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php">class-mainwp-rest-api-v1.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">136</span>
|
|
|
|
<a href="classes/MainWP-Dashboard-Rest-Api-V1.html#source-view.136" class="phpdocumentor-element-found-in__source" data-line="136" data-modal="source-view" data-src="files/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method enabled_rest_v2_api()</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">enabled_rest_v2_api</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>Enabled the REST API.</p>
|
|
</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/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.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-Dashboard-Rest-Api-V1.html#toc-properties">Properties</a></li>
|
|
<li><a href="classes/MainWP-Dashboard-Rest-Api-V1.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-Dashboard-Rest-Api-V1.html#property_api_version">$api_version</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#property_enabled_api">$enabled_api</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#property_instance">$instance</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-Dashboard-Rest-Api-V1.html#method_hook_rest_api_enabled">hook_rest_api_enabled()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_hook_rest_api_v2_enabled">hook_rest_api_v2_enabled()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_init">init()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_instance">instance()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_is_rest_api_enabled">is_rest_api_enabled()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_authentication_error">mainwp_authentication_error()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_invalid_data_error">mainwp_invalid_data_error()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_missing_data_error">mainwp_missing_data_error()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_permission_check_request">mainwp_permission_check_request()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_register_routes">mainwp_register_routes()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_add_client_callback">mainwp_rest_api_add_client_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_add_site_callback">mainwp_rest_api_add_site_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_all_clients_callback">mainwp_rest_api_all_clients_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_all_sites_callback">mainwp_rest_api_all_sites_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_all_sites_count_callback">mainwp_rest_api_all_sites_count_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_all_tags_callback">mainwp_rest_api_all_tags_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_available_updates_callback">mainwp_rest_api_available_updates_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_check_site_http_status_callback">mainwp_rest_api_check_site_http_status_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_check_sites_callback">mainwp_rest_api_check_sites_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_connected_sites_callback">mainwp_rest_api_connected_sites_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_connected_sites_count_callback">mainwp_rest_api_connected_sites_count_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_disconnect_site_callback">mainwp_rest_api_disconnect_site_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_disconnect_sites_callback">mainwp_rest_api_disconnect_sites_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_disconnected_sites_callback">mainwp_rest_api_disconnected_sites_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_disconnected_sites_count_callback">mainwp_rest_api_disconnected_sites_count_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_edit_client_callback">mainwp_rest_api_edit_client_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_edit_site_callback">mainwp_rest_api_edit_site_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_get_sites_by_client_callback">mainwp_rest_api_get_sites_by_client_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_get_sites_by_url_callback">mainwp_rest_api_get_sites_by_url_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_health_score_callback">mainwp_rest_api_health_score_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_http_status_callback">mainwp_rest_api_http_status_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_ignore_update_callback">mainwp_rest_api_ignore_update_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_ignore_updates_callback">mainwp_rest_api_ignore_updates_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_ignored_plugins_updates_callback">mainwp_rest_api_ignored_plugins_updates_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_ignored_themes_updates_callback">mainwp_rest_api_ignored_themes_updates_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_non_mainwp_changes_callback">mainwp_rest_api_non_mainwp_changes_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_non_mainwp_changes_count_callback">mainwp_rest_api_non_mainwp_changes_count_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_reconnect_site_callback">mainwp_rest_api_reconnect_site_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_remove_client_callback">mainwp_rest_api_remove_client_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_remove_site_callback">mainwp_rest_api_remove_site_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_security_issues_callback">mainwp_rest_api_security_issues_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_abandoned_plugins_callback">mainwp_rest_api_site_abandoned_plugins_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_abandoned_plugins_count_callback">mainwp_rest_api_site_abandoned_plugins_count_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_abandoned_themes_callback">mainwp_rest_api_site_abandoned_themes_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_abandoned_themes_count_callback">mainwp_rest_api_site_abandoned_themes_count_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_active_plugins_callback">mainwp_rest_api_site_active_plugins_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_active_plugins_count_callback">mainwp_rest_api_site_active_plugins_count_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_active_themes_callback">mainwp_rest_api_site_active_themes_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_available_updates_callback">mainwp_rest_api_site_available_updates_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_available_updates_count_callback">mainwp_rest_api_site_available_updates_count_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_callback">mainwp_rest_api_site_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_health_score_callback">mainwp_rest_api_site_health_score_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_http_status_callback">mainwp_rest_api_site_http_status_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_ignored_plugins_updates_callback">mainwp_rest_api_site_ignored_plugins_updates_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_ignored_themes_updates_callback">mainwp_rest_api_site_ignored_themes_updates_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_inactive_plugins_callback">mainwp_rest_api_site_inactive_plugins_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_inactive_plugins_count_callback">mainwp_rest_api_site_inactive_plugins_count_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_inactive_themes_callback">mainwp_rest_api_site_inactive_themes_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_inactive_themes_count_callback">mainwp_rest_api_site_inactive_themes_count_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_info_callback">mainwp_rest_api_site_info_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_installed_plugins_callback">mainwp_rest_api_site_installed_plugins_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_installed_plugins_count_callback">mainwp_rest_api_site_installed_plugins_count_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_installed_themes_callback">mainwp_rest_api_site_installed_themes_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_installed_themes_count_callback">mainwp_rest_api_site_installed_themes_count_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_manage_plugin_callback">mainwp_rest_api_site_manage_plugin_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_manage_theme_callback">mainwp_rest_api_site_manage_theme_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_security_issues_callback">mainwp_rest_api_site_security_issues_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_update_item_callback">mainwp_rest_api_site_update_item_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_update_plugins_callback">mainwp_rest_api_site_update_plugins_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_update_themes_callback">mainwp_rest_api_site_update_themes_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_update_translations_callback">mainwp_rest_api_site_update_translations_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_site_update_wordpress_callback">mainwp_rest_api_site_update_wordpress_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_sites_available_updates_count_callback">mainwp_rest_api_sites_available_updates_count_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_sync_site_callback">mainwp_rest_api_sync_site_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_sync_sites_callback">mainwp_rest_api_sync_sites_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_unignore_update_callback">mainwp_rest_api_unignore_update_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_rest_api_unignore_updates_callback">mainwp_rest_api_unignore_updates_callback()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_run_process_success">mainwp_run_process_success()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_mainwp_validate_request">mainwp_validate_request()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_rest_api_validate">rest_api_validate()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_enabled_rest_v1_api">enabled_rest_v1_api()</a></li>
|
|
<li class=""><a href="classes/MainWP-Dashboard-Rest-Api-V1.html#method_enabled_rest_v2_api">enabled_rest_v2_api()</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-Dashboard-Rest-Api-V1.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>
|