関数 _ajax_wp_die_handler()
定義ファイル :/blog/wp-includes/functions.php 13
_ajax_wp_die_handler()
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | /** * Kill WordPress ajax execution. * * This is the handler for wp_die when processing Ajax requests. * * @since 3.4.0 * @access private * * @param string $message Optional. Response to print. Default empty. */ function _ajax_wp_die_handler( $message = '' ) { if ( is_scalar( $message ) ) die( (string) $message ); die( '0' ); } |