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
1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 | 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
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.