do_action( 'deprecated_argument_run', string $function_name, string $message, string $version )
- Since
- 3.0.0
Fires when a deprecated argument is called.
Compatibility
- WordPress
- since 3.0.0
- 6.7.10
- 6.8.11
- 6.9.10
- 7.0.7
- 7.1.3
Present in every tracked release (6.7.10 to 7.1.3).
Parameters
$function_namestring- The function that was called.
$messagestring- A message regarding the change.
$versionstring- The version of WordPress that deprecated the argument used.
Where this hook fires · 1
wp-includes/functions.php:5881_deprecated_argument()
Source code
* @since 3.0.0 * * @param string $function_name The function that was called. * @param string $message A message regarding the change. * @param string $version The version of WordPress that deprecated the argument used. */ do_action( 'deprecated_argument_run', $function_name, $message, $version ); /** * Filters whether to trigger an error for deprecated arguments. * * @since 3.0.0 *Changelog
Introduced in 3.0.0. Unchanged from 6.7.10 through 7.1.3.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 6.9.10 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.