mirror of
https://github.com/WPMultisite/wp-multisite-subscriptions.git
synced 2025-08-07 10:08:32 +08:00
重命名:分叉 WP Ultimo
This commit is contained in:
parent
675cc66211
commit
afc807397f
5350 changed files with 1354268 additions and 604 deletions
|
@ -0,0 +1,68 @@
|
|||
<?php
|
||||
/**
|
||||
* WP Multisite Subscriptions overview collector.
|
||||
*
|
||||
* @package query-monitor
|
||||
* @since 2.0.11
|
||||
*/
|
||||
|
||||
namespace WP_Ultimo\Development\Query_Monitor\Collectors;
|
||||
|
||||
// Exit if accessed directly
|
||||
defined('ABSPATH') || exit;
|
||||
|
||||
/**
|
||||
* Every QM Panel needs a collector.
|
||||
*
|
||||
* @since 2.0.11
|
||||
*/
|
||||
class Collector_Overview extends \QM_Collector {
|
||||
|
||||
/**
|
||||
* Sets the id of the collector.
|
||||
*
|
||||
* @since 2.0.11
|
||||
* @var string
|
||||
*/
|
||||
public $id = 'wp-ultimo';
|
||||
|
||||
/**
|
||||
* Set-up routines.
|
||||
*
|
||||
* @since 2.0.11
|
||||
* @return void
|
||||
*/
|
||||
public function set_up() {
|
||||
|
||||
parent::set_up();
|
||||
|
||||
} // end set_up;
|
||||
|
||||
/**
|
||||
* Tear down routines.
|
||||
*
|
||||
* @since 2.0.11
|
||||
* @return void
|
||||
*/
|
||||
public function tear_down() {
|
||||
|
||||
parent::tear_down();
|
||||
|
||||
} // end tear_down;
|
||||
|
||||
/**
|
||||
* Process the collection.
|
||||
*
|
||||
* Here, we just need to add items to the
|
||||
* data property array.
|
||||
*
|
||||
* @since 2.0.11
|
||||
* @return void
|
||||
*/
|
||||
public function process() {
|
||||
|
||||
$this->data = $_REQUEST;
|
||||
|
||||
} // end process;
|
||||
|
||||
} // end class Collector_Overview;
|
Loading…
Add table
Add a link
Reference in a new issue