Filters whether to trigger deprecated hook errors.
$triggerbool
WP_DEBUG to be defined true.if ( WP_DEBUG && apply_filters( 'deprecated_hook_trigger_error', true ) ) {
| Version | Description |
|---|---|
| 4.6.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/deprecated_hook_trigger_error