HEX
Server: Apache
System: Linux andromeda.lojoweb.com 4.18.0-372.26.1.el8_6.x86_64 #1 SMP Tue Sep 13 06:07:14 EDT 2022 x86_64
User: nakedfoamlojoweb (1056)
PHP: 8.0.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/nakedfoamlojoweb/www/wp-content/plugins/wordpress-seo/src/initializers/plugin-headers.php
<?php

namespace Yoast\WP\SEO\Initializers;

use Yoast\WP\SEO\Conditionals\No_Conditionals;

/**
 * Adds custom headers to the list of plugin headers to read.
 */
class Plugin_Headers implements Initializer_Interface {

	use No_Conditionals;

	/**
	 * Hooks into the list of the plugin headers.
	 *
	 * @return void
	 */
	public function initialize() {
		\add_filter( 'extra_plugin_headers', [ $this, 'add_requires_yoast_seo_header' ] );
	}

	/**
	 * Add the `Requires Yoast SEO` header to the list of headers.
	 *
	 * @param array<string> $headers The headers.
	 *
	 * @return array<string> The updated headers.
	 */
	public function add_requires_yoast_seo_header( $headers ) {
		$headers[] = 'Requires Yoast SEO';
		return $headers;
	}
}