do_action( ‘deprecated_file_included’, string $file, string $replacement, string $version, string $message )

In this article

Fires when a deprecated file is called.

Parameters

$filestring
The file that was called.
$replacementstring
The file that should have been included based on ABSPATH.
$versionstring
The version of WordPress that deprecated the file.
$messagestring
A message regarding the change.

Source

do_action( 'deprecated_file_included', $file, $replacement, $version, $message );

Changelog

VersionDescription
2.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.