This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
BBP_BuddyPress_Members::setup_actions()
Setup the actions
Description
Source
File: bp-forums/members.php
private function setup_actions() { // Allow unsubscribe/unfavorite links to work add_action( 'bp_template_redirect', array( $this, 'set_member_forum_query_vars' ) ); /** Favorites *********************************************************/ // Move handler to 'bp_actions' - BuddyBoss bypasses template_loader remove_action( 'template_redirect', 'bbp_favorites_handler', 1 ); add_action( 'bp_actions', 'bbp_favorites_handler', 1 ); /** Subscriptions *****************************************************/ // Move handler to 'bp_actions' - BuddyBoss bypasses template_loader remove_action( 'template_redirect', 'bbp_subscriptions_handler', 1 ); add_action( 'bp_actions', 'bbp_subscriptions_handler', 1 ); }
Changelog
Version | Description |
---|---|
bbPress (r4395) | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.