Uses
Uses | Description |
---|---|
wp-includes/plugin.php: apply_filters() | Calls the callback functions that have been added to a filter hook. |
wp-includes/class-wp-xmlrpc-server.php: xmlrpc_pingback_error | Filters the XML-RPC pingback error return. |
Sends a pingback error based on the given error code and message.
(int) (Required) Error code.
(string) (Required) Error message.
(IXR_Error) Error object.
File: wp-includes/class-wp-xmlrpc-server.php
protected function pingback_error( $code, $message ) { /** * Filters the XML-RPC pingback error return. * * @since 3.5.1 * * @param IXR_Error $error An IXR_Error object containing the error code and message. */ return apply_filters( 'xmlrpc_pingback_error', new IXR_Error( $code, $message ) ); }
Version | Description |
---|---|
3.6.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_xmlrpc_server/pingback_error