Opened 9 years ago
Closed 9 years ago
#33911 closed enhancement (duplicate)
Filter template dirs
Reported by: | sebastian.pisula | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.3 |
Component: | Themes | Keywords: | |
Focuses: | Cc: |
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.
Duplicate of #13239 and #14310.