apply_filters( 'bp_user_can_create_groups', bool $can_create, int $restricted )

Filters if the current logged in user can create groups.


Parameters Parameters

$can_create

(bool) Whether the person can create groups.

$restricted

(int) Whether or not group creation is restricted.


Source Source

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

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
1.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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