bp_groups_auto_join()
Determine whether groups auto-join is enabled.
Description Description
"Auto-join" is the toggle that determines whether users are joined to a public group automatically when creating content in that group.
Return Return
(bool)
Source Source
File: bp-groups/bp-groups-template.php
function bp_groups_auto_join() { /** * Filters whether groups auto-join is enabled. * * @since 1.2.6 * * @param bool $value Enabled status. */ return apply_filters( 'bp_groups_auto_join', (bool) buddypress()->groups->auto_join ); }
Changelog Changelog
Version | Description |
---|---|
1.2.6 | Introduced. |