Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Call to undefined function bp_core_add_subnav_item()


Erwin Gerrits
Participant

@egerrits

Thanks Burt,

That fixed the bp not loading issue, however… now my plugin never runs because bp is never loaded before my plugin. The function somehow never succeeds in loading bp…

If I simply add:

require_once( WP_PLUGIN_DIR . ‘/buddypress/bp-loader.php’ );

to my requires at the top of my plug-in everything works peachy.

Does this add too much overhead, though?

Skip to toolbar