Yoast\WP\SEO\Conditionals
XMLRPC_Conditional::is_met()
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 23.4
public function is_met() { return ( \defined( 'XMLRPC_REQUEST' ) && \XMLRPC_REQUEST ); }