deprecated_function_trigger_error WordPress Filter Hook
The deprecated_function_trigger_error() hook is no longer used in WordPress and has been replaced by the newer deprecated_function() hook. This hook was used to trigger an error when a deprecated function was called.
apply_filters( 'deprecated_function_trigger_error', bool $trigger ) #
Filters whether to trigger an error for deprecated functions.
Parameters
- $trigger
(bool)Whether to trigger the error for deprecated functions. Default true.
Source
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |