deprecated_function_run WordPress Action Hook

The deprecated_function_run hook is no longer needed as of WordPress 4.6 and has been replaced by the new hook, deprecated_function_trigger.

do_action( 'deprecated_function_run', string $function, string $replacement, string $version ) #

Fires when a deprecated function is called.


Parameters

$function

(string)The function that was called.

$replacement

(string)The function that should have been called.

$version

(string)The version of WordPress that deprecated the function.


Top ↑

Source

File: wp-includes/functions.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.5.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