_default_wp_die_handler


_default_wp_die_handler ( $message, $title = '', $args = array() )

Access:
  • private
Parameters:
  • (string|WP_Error) message Error message or WP_Error object.
  • (string) title Optional. Error title. Default empty string.
  • (string|array) args Optional. Arguments to control behavior. Default empty array.
Defined at:

Description

Kills WordPress execution and displays HTML page with an error message.This is the default handler for wp_die(). If you want a custom one, you can override this using the {@see 'wp_die_handler'} filter in wp_die().

Related Functions

_xml_wp_die_handler, _scalar_wp_die_handler, _ajax_wp_die_handler, _xmlrpc_wp_die_handler, _json_wp_die_handler

Top Google Results

User discussions

wpseek mobile