BP_REST_Signup_Endpoint::__construct()
Constructor.
Description
Source
File: bp-members/classes/class-bp-rest-signup-endpoint.php
public function __construct() {
$this->namespace = bp_rest_namespace() . '/' . bp_rest_version();
$this->rest_base = 'signup';
$this->default_password_fields = array(
'signup_password' => array(
'label' => __( 'Password', 'buddyboss' ),
'required' => true,
'value' => '',
'attribute_type' => 'password',
'type' => 'password',
'class' => 'password-entry',
),
'signup_password_confirm' => array(
'label' => __( 'Confirm Password', 'buddyboss' ),
'required' => true,
'value' => '',
'attribute_type' => 'password',
'type' => 'password',
'class' => 'password-entry-confirm',
),
);
}
Changelog
| Version | Description |
|---|---|
| 0.1.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.