Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Plugin Developers: Changes around $bp global


plrk
Participant

@plrk

Instead, I should write:

$bp->mycomponent->image_base = site_url() . '/wp-content/mu-plugins/bp-mycomponent/images';

$bp->mycomponent->slug = 'mycomponent';

$bp->mycomponent->table_name = 'wp_bp_mycomponent_table';

I may have to write $bp->mycomponent = new stdClass; first, Andy will let us know:

<apeatlin> you may have to first do $bp->flickr = new stdClass; then do it though

<apeatlin> I’m not sure yet

<apeatlin> I’ll let you know

Skip to toolbar