Opened 11 years ago
Closed 11 years ago
#33911 closed enhancement (duplicate)
Filter template dirs
| Reported by: | sebastian.pisula | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Themes | Version: | 4.3 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Filter for dirs here templates are search. For example:
add_filter('template_dirs', 'template_dirs_filter');
function template_dirs_filter($dirs){
$dirs[0] = '/path/my/dir';
return $dirs;
}
Attachments (1)
Change History (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Duplicate of #13239 and #14310.