deprecated_argument_run WordPress Action Hook
The deprecated_argument_run hook is called when a deprecated argument is encountered. Deprecated arguments are arguments that are no longer used or supported by the current version of WordPress. This hook can be used to provide backwards compatibility for plugins or themes that are still using the deprecated argument.
do_action( 'deprecated_argument_run', string $function , string $message , string $version ) #
Fires when a deprecated argument is called.
Parameters
- $function
(string)The function that was called.
- $message
(string)A message regarding the change.
- $version
(string)The version of WordPress that deprecated the argument used.
Source
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |