Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: How to use bp_init and bp_setup_globals at the same time ?


grosbouff
Participant

@grosbouff

@Paul :
not working either with

//TO FIX
//https://buddypress.org/community/groups/creating-extending/forum/topic/how-to-use-bp_init-and-bp_setup_globals-at-the-same-time/
//add_action( 'bp_setup_globals', 'bp_yclads_setup_globals' );
add_action( 'wp', 'bp_yclads_setup_globals' );
add_action( 'admin_menu', 'bp_yclads_setup_globals' );

For the same problem (https://buddypress.org/community/groups/creating-extending/forum/topic/custom-plugin-hook-bp_setup_globals-is-not-fired/)

Skip to toolbar