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

do_action('deprecated_file_included') is found 1 times:

  • /wp-includes/functions.php line 5778
    	 * @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: