Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,851
- How-to & Troubleshooting
- 128,868
- Creating & Extending
- 25,736
- Requests & Feedback
- 9,445
- Third Party Plugins
- 9,772
- Showcase
- 3,317
- Ideas
- 1,388
- Miscellaneous
- 9,132
-
@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/)
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS