#4841 closed enhancement (no action required)
Need a way to override buddypress-functions.php
| Reported by: | modemlooper | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | 1.7 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Can we allow by adding buddypress-functions.php to our theme folder the ability to use that file instead?
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
I believe you can.
bp_load_theme_functions()should look for buddypress-functions.php in the following order by default:Array ( [0] => /wp-content/themes/twentytwelve/buddypress [1] => /wp-content/themes/twentytwelve/community [2] => /wp-content/themes/twentytwelve [3] => /wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress [4] => /wp-content/plugins/buddypress/bp-templates/bp-legacy/community [5] => /wp-content/plugins/buddypress/bp-templates/bp-legacy )This assumes that you're using Twenty Twelve as your active theme.