BP_REST_Signup_Endpoint::__construct()
Constructor.
Description
Source
File: bp-members/classes/class-bp-rest-signup-endpoint.php
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | 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.