A WordPress-centric search engine for devs and theme authors



theme_file_path ›

Since4.7.0
Deprecatedn/a
apply_filters( 'theme_file_path', $path, $file )
Parameters: (2)
  • (string) $path The file path.
    Required: Yes
  • (string) $file The requested file to search for.
    Required: Yes
Defined at:
Codex:

Filters the path to a file in the theme.





Source

return apply_filters( 'theme_file_path', $path, $file );