friends_screen_requests

  • do_action( 'friends_screen_requests' )

    Source Reference:

    • Component: BuddyPress:: bp-friends
      File: /bp-friends/bp-friends-screens.php :: Trac Source Line: 46
      		if ( friends_reject_friendship( bp_action_variable( 1 ) ) )
      			bp_core_add_message( __( 'Friendship rejected', 'buddypress' ) );
      		else
      			bp_core_add_message( __( 'Friendship could not be rejected', 'buddypress' ), 'error' );
      
      		bp_core_redirect( bp_loggedin_user_domain() . bp_current_component() . '/' . bp_current_action() );
      	}
      
      	do_action( 'friends_screen_requests' );
      
      	if ( isset( $_GET['new'] ) )
      		bp_core_delete_notifications_by_type( bp_loggedin_user_id(), 'friends', 'friendship_request' );
      
      	bp_core_load_template( apply_filters( 'friends_template_requests', 'members/single/home' ) );
      }
      
      function friends_screen_notification_settings() {
      	global $bp;
      

Comments are closed.