deprecated_argument_trigger_error WordPress Filter Hook
The deprecated_argument_trigger_error() hook is used to trigger an error when an deprecated argument is used. It is called when an argument is used that has been deprecated. This hook is deprecated.
apply_filters( 'deprecated_argument_trigger_error', bool $trigger ) #
Filters whether to trigger an error for deprecated arguments.
Parameters
- $trigger
(bool)Whether to trigger the error for deprecated arguments. Default true.
Source
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |