bp_register_confirm_password( bool $default = false )

Display password confirmation field in registrations.

Description

Parameters

$default

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

Default value: false

Return

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

Source

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

function bp_register_confirm_password( $default = false ) {

	/**
	 * Filters whether or not display password confirmation field in registrations.
	 *
	 * @since BuddyBoss 1.1.6
	 *
	 * @param bool $value whether or not display password confirmation field in registrations.
	 */
	return (bool) apply_filters( 'bp_register_confirm_password', (bool) bp_get_option( 'register-confirm-password', $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.