bp_registration_needs_activation()

Check whether registrations require activation on this installation.

Description

On a normal BuddyPress installation, all registrations require email activation. This filter exists so that customizations that omit activation can remove certain notification text from the registration screen.

Return

(bool) True by default.

Source

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

function bp_registration_needs_activation() {

	/**
	 * Filters whether registrations require activation on this installation.
	 *
	 * @since BuddyPress 1.2.0
	 *
	 * @param bool $value Whether registrations require activation. Default true.
	 */
	return apply_filters( 'bp_registration_needs_activation', true );
}

Changelog

Changelog
Version Description
BuddyPress 1.2.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.