wp_back/wp-content/plugins/query-monitor/data/hooks.php

38 lines
597 B
PHP
Raw Permalink Normal View History

2024-05-20 15:37:46 +03:00
<?php declare(strict_types = 1);
/**
* Hooks data transfer object.
*
* @package query-monitor
*/
class QM_Data_Hooks extends QM_Data {
/**
* @var array<int, array<string, mixed>>
* @phpstan-var list<array{
* name: string,
* actions: list<array{
* priority: int,
* callback: array<string, mixed>,
* }>,
* parts: list<string>,
* components: array<string, string>,
* }>
*/
public $hooks;
/**
* @var array<int, string>
*/
public $parts;
/**
* @var array<string, string>
*/
public $components;
/**
* @var bool
*/
public $all_hooks;
}