/home/vianto5/ceibaresidencial.mx/wp-content/plugins/query-monitor/collectors
NameSizeModeActions
admin.php35020644editdlrm
assets_scripts.php12420644editdlrm
assets_styles.php10820644editdlrm
block_editor.php66790644editdlrm
cache.php35380644editdlrm
caps.php65700644editdlrm
conditionals.php28030644editdlrm
db_callers.php7520644editdlrm
db_components.php7710644editdlrm
db_dupes.php7330644editdlrm
db_queries.php79000644editdlrm
debug_bar.php27910644editdlrm
doing_it_wrong.php93740644editdlrm
environment.php87560644editdlrm
hooks.php17230644editdlrm
http.php168010644editdlrm
languages.php77320644editdlrm
logger.php75060644editdlrm
multisite.php16560644editdlrm
overview.php59210644editdlrm
php_errors.php134760644editdlrm
raw_request.php25490644editdlrm
redirects.php13650644editdlrm
request.php67900644editdlrm
theme.php184690644editdlrm
timing.php43870644editdlrm
transients.php28920644editdlrm
Edit: /home/vianto5/ceibaresidencial.mx/wp-content/plugins/query-monitor/collectors/hooks.php (1723B)
*/ class QM_Collector_Hooks extends QM_DataCollector { /** * @var string */ public $id = 'hooks'; /** * @var bool */ protected static $hide_core; public function get_storage(): QM_Data { return new QM_Data_Hooks(); } /** * @return void */ public function process() { /** * @var array $wp_actions * @var array $wp_filter */ global $wp_actions, $wp_filter; self::$hide_qm = self::hide_qm(); self::$hide_core = ( defined( 'QM_HIDE_CORE_ACTIONS' ) && QM_HIDE_CORE_ACTIONS ); $hooks = array(); if ( has_action( 'all' ) ) { $hooks[] = QM_Hook::process( 'all', 'action', $wp_filter['all'] ?? null, self::$hide_qm, self::$hide_core ); } $this->data->all_hooks = defined( 'QM_SHOW_ALL_HOOKS' ) && QM_SHOW_ALL_HOOKS; if ( $this->data->all_hooks ) { // Show all hooks $hook_names = array_keys( $wp_filter ); } else { // Only show action hooks that have been called at least once $hook_names = array_keys( $wp_actions ); } foreach ( $hook_names as $name ) { $type = 'action'; if ( $this->data->all_hooks ) { $type = array_key_exists( $name, $wp_actions ) ? 'action' : 'filter'; } $hook = QM_Hook::process( $name, $type, $wp_filter[ $name ] ?? null, self::$hide_qm, self::$hide_core ); $hooks[] = $hook; } $this->data->hooks = $hooks; $this->data->php_int_max = PHP_INT_MAX; $this->data->php_int_min = PHP_INT_MIN; } } # Load early to catch all hooks QM_Collectors::add( new QM_Collector_Hooks() );