BP_Groups_Member::check_for_membership_request( int $user_id, int $group_id )

Check whether a user has an outstanding membership request for a given group.

Parameters Parameters


(int) (Required) ID of the user.


(int) (Required) ID of the group.

Top ↑

Return Return

(int) Database ID of the membership if found; int 0 on failure.

Source Source

File: bp-groups/classes/class-bp-groups-member.php

	public static function check_for_membership_request( $user_id, $group_id ) {
		return groups_is_user_pending( $user_id, $group_id );

Top ↑

Changelog Changelog

Version Description
1.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.