deprecated_file_included action-hook . WP 2.5.0
Fires when a deprecated file is called.
Usage
add_action( 'deprecated_file_included', 'action_function_name_6274', 10, 4 ); function action_function_name_6274( $file, $replacement, $version, $message ){ // action... }
- $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.
Changelog
Since 2.5.0 | Introduced. |
Where the hook is called
deprecated_file_included
wp-includes/functions.php 5027
do_action( 'deprecated_file_included', $file, $replacement, $version, $message );