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 ClassicPress or WordPress that deprecated the function.


Source

File: wp-includes/functions.php

View on GitHub



Changelog

Changelog
Version Description
WP-2.5.0 Introduced.