diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php
index 4ecad8e808..be52e6c147 100644
a
|
b
|
function wp_die( $message = '', $title = '', $args = array() ) { |
3710 | 3710 | $callback = apply_filters( 'wp_die_handler', '_default_wp_die_handler' ); |
3711 | 3711 | } |
3712 | 3712 | |
| 3713 | /** |
| 3714 | * Filters the arguments passed to the callback that kills WordPress execution. |
| 3715 | * |
| 3716 | * @since 6.1.0 |
| 3717 | * |
| 3718 | * @param string|array|int $args Arguments to control behavior. |
| 3719 | * @param callable $callback Callback function name. |
| 3720 | */ |
| 3721 | $args = apply_filters( 'wp_die_args', $args, $callback ); |
| 3722 | |
3713 | 3723 | call_user_func( $callback, $message, $title, $args ); |
3714 | 3724 | } |
3715 | 3725 | |