A WordPress-centric search engine for devs and theme authors



wp_php_error_message ›

Since5.2.0
Deprecatedn/a
apply_filters( 'wp_php_error_message', $message, $error )
Parameters: (2)
  • (string) $message HTML error message to display.
    Required: Yes
  • (array) $error Error information retrieved from `error_get_last()`.
    Required: Yes
Defined at:
Codex:

Filters the message that the default PHP error template displays.





Source

$message = apply_filters( 'wp_php_error_message', $message, $error );