deprecated_file_included WordPress Action Hook
This hook is used to indicate that a file is no longer used and will be removed in a future version.
do_action( 'deprecated_file_included', string $file , string $replacement , string $version , string $message ) #
Fires when a deprecated file is called.
Parameters
- $file
(string)The file that was called.
- $replacement
(string)The file that should have been included based on ABSPATH.
- $version
(string)The version of WordPress that deprecated the file.
- $message
(string)A message regarding the change.
Source
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |