[buddypress-trac] [BuddyPress Trac] #7922: bp_get_template_part() does not allow movement of /buddypress/ folder
buddypress-trac
noreply at wordpress.org
Wed Jul 11 00:36:51 UTC 2018
#7922: bp_get_template_part() does not allow movement of /buddypress/ folder
-------------------------------+------------------------------
Reporter: theZman | Owner: (none)
Type: feature request | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: Core | Version: 3.0.0
Severity: trivial | Resolution:
Keywords: 2nd-opinion close |
-------------------------------+------------------------------
Changes (by r-a-y):
* keywords: needs-patch => 2nd-opinion close
Comment:
There's already a filter, `'bp_get_template_locations'`:
https://buddypress.trac.wordpress.org/browser/tags/3.1.0/src/bp-core/bp-
core-template-loader.php#L406
You can use that to define custom directory locations and probably get
your ideal setup working this way.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7922#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list