wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.
_scalar_wp_die_handler is private and should not be used in themes or plugins directly.
_scalar_wp_die_handler › WordPress Function
Od3.4.0
Przestarzałyn/a
› _scalar_wp_die_handler ( $message = '', $title = '', $args = array() )
Dostęp: |
|
Parametry: (3) |
|
Zdefiniowane na: |
|
Codex: | |
Dziennik zmian: |
|
Kills WordPress execution and displays an error message.
This is the handler for wp_die() when processing APP requests.Powiązane Funkcje: _ajax_wp_die_handler, _xml_wp_die_handler, _xmlrpc_wp_die_handler, _json_wp_die_handler, _default_wp_die_handler
Źródło
function _scalar_wp_die_handler( $message = '', $title = '', $args = array() ) { list( $message, $title, $parsed_args ) = _wp_die_process_input( $message, $title, $args ); if ( $parsed_args['exit'] ) { if ( is_scalar( $message ) ) { die( (string) $message ); } die(); } if ( is_scalar( $message ) ) { echo (string) $message; } }