1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<?php
namespace Yoast\WP\SEO\Conditionals;
/** * Conditional that is met when the current request is an XML-RPC request. */ class XMLRPC_Conditional implements Conditional {
/** * Returns whether the current request is an XML-RPC request. * * @return boolean `true` when the current request is an XML-RPC request, `false` if not. */ public function is_met() { return ( \defined( 'XMLRPC_REQUEST' ) && \XMLRPC_REQUEST ); } }
|