/var/www/html_sp/wp-content/plugins/query-monitor/data/hooks.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?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;
}