On this page
do_action( 'deprecated_file_included', string $file, string $replacement, string $version, string $message )
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
File: wp-includes/functions.php. View all references
do_action( 'deprecated_file_included', $file, $replacement, $version, $message );
Related
Used By
| Used By | Description |
|---|---|
| _deprecated_file() wp-includes/functions.php | Marks a file as deprecated and inform when it has been used. |
Changelog
| Version | Description |
|---|---|
| 2.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/deprecated_file_included