Replies
Viewing 3 posts - 1 through 3 (of 3 total)
Thanks for clarification. On the code you provided, I am not looking to change the redirect URL, im looking for something similar to what was provided here :
This code basically SKIPS the redirect all together on NON-Buddypress pages.
Example 1:- Do not redirect on non BuddyPress pages
/**
* Do not redirect users on non bp pages.
*
* @param bool $skip should we skip or redirect.
*
* @return bool
*/
function buddydev_skip_redirect_on_non_bp_pages( $skip ) {if ( ! is_buddypress() ) {
$skip = true;
}return $skip;
}add_filter( ‘bp_force_profile_photo_skip’, ‘buddydev_skip_redirect_on_non_bp_pages’ );
- This reply was modified 3 years, 4 months ago by Frogbutt.
Viewing 3 posts - 1 through 3 (of 3 total)