apply_filters( 'deprecated_hook_trigger_error', bool $trigger )
Filters whether to trigger deprecated hook errors.
Parameters
- $trigger
-
(bool) Whether to trigger deprecated hook errors. Requires
WP_DEBUG
to be defined true.
Source
Changelog
Version | Description |
---|---|
4.6.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/deprecated_hook_trigger_error