HEX
Server: Apache
System: FreeBSD www860.sakura.ne.jp 13.0-RELEASE-p14 FreeBSD 13.0-RELEASE-p14 #2: Mon Dec 9 13:54:55 JST 2024 root@www5301.sakura.ne.jp:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
User: yoyo0427 (1306)
PHP: 8.3.8
Disabled: NONE
Upload Files
File: /home/yoyo0427/www/www.yn-artspace.com/wp-content/plugins/jetpack/3rd-party/debug-bar.php
<?php
/**
 * 3rd Party integration for Debug Bar.
 *
 * @package automattic/jetpack
 */

/**
 * Checks if the search module is active, and if so, will initialize the singleton instance
 * of Jetpack_Search_Debug_Bar and add it to the array of debug bar panels.
 *
 * @param array $panels The array of debug bar panels.
 * @return array $panel The array of debug bar panels with our added panel.
 */
function init_jetpack_search_debug_bar( $panels ) {
	if ( ! Jetpack::is_module_active( 'search' ) ) {
		return $panels;
	}

	require_once __DIR__ . '/debug-bar/class-jetpack-search-debug-bar.php';
	$panels[] = Jetpack_Search_Debug_Bar::instance();
	return $panels;
}
add_filter( 'debug_bar_panels', 'init_jetpack_search_debug_bar' );