_xmlrpc_wp_die_handler [ WordPress Function ]
_xmlrpc_wp_die_handler ( $message, $title = '', $args = array() )
| Access: |
|
| Parameters: |
|
| Defined at: |
|
Soorgelijke functies: _ajax_wp_die_handler, _scalar_wp_die_handler, _default_wp_die_handler, wp_media_upload_handler, wp_admin_bar_header
Kill WordPress execution and display XML message with error message.
This is the handler for wp_die when processing XMLRPC requests.
Source
<?php
function _xmlrpc_wp_die_handler( $message, $title = '', $args = array() ) {
global $wp_xmlrpc_server;
$defaults = array( 'response' => 500 );
$r = wp_parse_args($args, $defaults);
if ( $wp_xmlrpc_server ) {
$error = new IXR_Error( $r['response'] , $message);
$wp_xmlrpc_server->output( $error->getXml() );
}
die();
}
?>
Examples [ wp-snippets.com ]
Top Google zoekresultaten
- _xmlrpc_wp_die_handler() WordPress function reference ...
Kill WordPress execution and display XML message with error message.
queryposts.com - wp_die (WordPress Function) - WPSeek.com
elseif ( defined( 'XMLRPC_REQUEST' ) && XMLRPC_REQUEST ) $function = apply_filters( 'wp_die_xmlrpc_handler', '_xmlrpc_wp_die_handler' ); ...
wpseek.com - #19552 (Split functions.php) – WordPress Trac
... _default_wp_die_handler() _xmlrpc_wp_die_handler() _xmlrpc_wp_die_filter( ) _config_wp_home() _config_wp_siteurl() _mce_set_direction() smilies_init() ...
core.trac.wordpress.org - PHPXRef 0.7 : WordPress : Detail view of functions.php
_xmlrpc_wp_die_handler() _ajax_wp_die_handler() _scalar_wp_die_handler() _config_wp_home() _config_wp_siteurl() _mce_set_direction() smilies_init() ...
phpxref.ftwr.co.uk