Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




_ajax_wp_die_handler [ WordPress Function ]

_ajax_wp_die_handler ( $message = '' )
Access:
  • private
Parameters:
  • (string) $message Optional. Response to print.
Defined at:



Kill WordPress ajax execution.

This is the handler for wp_die when processing Ajax requests.

Source


<?php
function _ajax_wp_die_handler$message '' ) {
    if ( 
is_scalar$message ) )
        die( (string) 
$message );
    die( 
'0' );
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

Gebruikersdiscussies [ wordpress.org ]

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics