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

Fires when a deprecated file is called.


Parameters

$file

The file that was called.

$replacement

The file that should have been included based on ABSPATH.

$version

The version of ClassicPress or WordPress that deprecated the file.

$message

A message regarding the change.


Source

File: wp-includes/functions.php

View on GitHub



Changelog

Changelog
Version Description
WP-2.5.0 Introduced.