Replies
Viewing 5 posts - 1 through 5 (of 5 total)
This worked like a charm, thank you so much Ravi 🙂
You might want to update this page for others: https://buddydev.com/buddypress-private-message-non-logged-users/
Cheers
Thank you for you reply Brajesh!
As I have other roles who can edit posts but would require profile completion, is it possible to get it by role? So that only role=donor can skip profile.
I tried
$user = get_userdata( $user_id ); $user_roles = $user->roles; add_filter( 'bp_force_profile_completion_skip_check', function ( $skip ) { if ( in_array( 'donor', $user_roles, true ) ){ $skip = true; } return $skip; } );
but without success. Maybe you can help me?
Thank you 🙂
Viewing 5 posts - 1 through 5 (of 5 total)