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 ]

Google Arama Sonuçlarý

Dahasý ...

Kullanýcý Tartýþmalarý [ wordpress.org ]

- Bulunamadý -

Yeni bir konu yaz ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



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