bp_register_confirm_email( bool $default = false )

Display email confirmation field in registrations.

Description

Parameters

$default

(Optional) Fallback value if not found in the database. Default: true.

Default value: false

Return

(bool) True if Whether or not display email confirmation field in registrations.

Source

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

function bp_register_confirm_email( $default = false ) {

	/**
	 * Filters whether or not display email confirmation field in registrations.
	 *
	 * @since BuddyBoss 1.1.6
	 *
	 * @param bool $value whether or not display email confirmation field in registrations.
	 */
	return (bool) apply_filters( 'bp_register_confirm_email', (bool) bp_get_option( 'register-confirm-email', $default ) );
}

Changelog

Changelog
Version Description
BuddyBoss 1.1.6 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.