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.


Top ↑

Source

File: wp-includes/functions.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.5.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More