Action hook 'deprecated_file_included'

in WP Core File wp-includes/functions.php at line 5753

Description

Fires when a deprecated file is called.

Occurrences

Filename Line Number
wp-includes/functions.php 5753

Parameters

Type Name Description
string $file The file that was called.
string $replacement The file that should have been included based on ABSPATH.
string $version The version of WordPress that deprecated the file.
string $message A message regarding the change.

PHP Doc

/**
	 * Fires when a deprecated file is called.
	 *
	 * @since 2.5.0
	 *
	 * @param string $file        The file that was called.
	 * @param string $replacement The file that should have been included based on ABSPATH.
	 * @param string $version     The version of WordPress that deprecated the file.
	 * @param string $message     A message regarding the change.
	 */