Make WordPress Core

Opened 3 years ago

Last modified 13 months ago

#54734 new enhancement

Allow get_file_path_from_theme filterable like get_theme_file_path

Reported by: rahe's profile Rahe Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Themes Keywords:
Focuses: template Cc:

Description

Hello,

I've noticed that get_theme_file_path is not used into WP_Theme_JSON_Resolver but WP_Theme_JSON_Resolver::get_file_path_from_theme method.

Since the function get_theme_file_path is filterable and to be consistent with it, I think this can be a good idea to add a filter to this method.

Change History (2)

#1 @mukesh27
3 years ago

  • Version trunk deleted

#2 @sabernhardt
13 months ago

  • Component changed from General to Themes
Note: See TracTickets for help on using tickets.