WordPress开发者和主题制作者的搜索引擎



wp_php_error_message ›

Since5.2.0
已弃用n/a
apply_filters( 'wp_php_error_message', $message, $error )
参数: (2)
  • (string) $message HTML error message to display.
    Required: Yes
  • (array) $error Error information retrieved from `error_get_last()`.
    Required: Yes
定义在:
文档:

Filters the message that the default PHP error template displays.





源码

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