apply_filters( 'bp_groups_user_can_send_invites', bool $can_send_invites, int $group_id, bool $invite_status, int $user_id )

Filters whether a user can send invites in a group.

Parameters Parameters


(bool) Whether the user can send invites


(int) The group ID being checked


(bool) The group's current invite status


(int) The user ID being checked

Source Source

File: bp-groups/bp-groups-template.php

View on Trac

Top ↑

Changelog Changelog

Version Description
2.2.0 Added the $user_id parameter.
1.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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