Yoast\WP\SEO\Conditionals
XMLRPC_Conditional::is_met() public Yoast 1.0
Returns whether the current request is an XML-RPC request.
{} Это метод класса: XMLRPC_Conditional{}
Хуков нет.
Возвращает
true/false. true when the current request is an XML-RPC request, false if not.
Использование
$XMLRPC_Conditional = new XMLRPC_Conditional(); $XMLRPC_Conditional->is_met();
Код XMLRPC_Conditional::is_met() XMLRPC Conditional::is met Yoast 15.6.2
public function is_met() {
return ( \defined( 'XMLRPC_REQUEST' ) && \XMLRPC_REQUEST );
}