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.


Top ↑

Source

File: wp-includes/functions.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.0.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More