Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: BP-custom in the wrong place


Jeff Sayre
Participant

@jeffsayre

The codebase is the final authority. Look at line 9 of bp-core.php. It tells you exactly what to do.

/* Place your custom code (actions/filters) in a file called /plugins/bp-custom.php and it
will be loaded before anything else. */
if ( file_exists( WP_PLUGIN_DIR . '/bp-custom.php' ) )
require( WP_PLUGIN_DIR . '/bp-custom.php' );

Skip to toolbar