#4841 closed enhancement (no action required)
Need a way to override buddypress-functions.php
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 1.7 |
| Component: | Core | 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.
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.