_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|array) $args Optional. Arguments to control behavior. Default empty array.
Defined at:

Description

Kills WordPress execution and display HTML message with error message.

This is the default handler for wp_die if you want a custom one for your site then you can overload using the {@see 'wp_die_handler'} filter in wp_die().

Related Functions

_scalar_wp_die_handler, _ajax_wp_die_handler, _xmlrpc_wp_die_handler, default_password_nag_handler, register_default_headers

Top Google Results

User discussions

wpseek mobile