deprecated_file_included

deprecated_file_included

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

do_action('deprecated_file_included') is found 1 times:

  • /wp-includes/functions.php line 5778
    5774
    5775
    5776
    5777
    5778
    5779
    5780
    5781
    5782
    5783
    5784
    * @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.
     */
    do_action( 'deprecated_file_included', $file, $replacement, $version, $message );
     
    /**
     * Filters whether to trigger an error for deprecated files.
     *
     * @since 2.5.0
     *

See this hook used in plugins: