mirror of
git://develop.git.wordpress.org/
synced 2025-03-21 12:29:53 +01:00
Docs: Use a duplicate hook reference for theme_file_path
in WP_Theme::get_file_path()
.
Follow-up to [38578], [52279]. See #51506, #53399. git-svn-id: https://develop.svn.wordpress.org/trunk@52297 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b94ce528fc
commit
6c2ff0fbba
@ -1507,14 +1507,7 @@ final class WP_Theme implements ArrayAccess {
|
||||
$path = $template_directory . '/' . $file;
|
||||
}
|
||||
|
||||
/**
|
||||
* Filters the path to a file in the theme.
|
||||
*
|
||||
* @since 5.9.0
|
||||
*
|
||||
* @param string $path The file path.
|
||||
* @param string $file The requested file to search for.
|
||||
*/
|
||||
/** This filter is documented in wp-includes/link-template.php */
|
||||
return apply_filters( 'theme_file_path', $path, $file );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user