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.


Top ↑

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 );
}


Top ↑

Changelog Changelog

Changelog
Version Description
1.2.6 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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