| @@ 32-47 (lines=16) @@ | ||
| 29 | * @return n/a |
|
| 30 | */ |
|
| 31 | ||
| 32 | function __construct() { |
|
| 33 | ||
| 34 | // vars |
|
| 35 | $this->name = 'email'; |
|
| 36 | $this->label = __("Email",'acf'); |
|
| 37 | $this->defaults = array( |
|
| 38 | 'default_value' => '', |
|
| 39 | 'placeholder' => '', |
|
| 40 | 'prepend' => '', |
|
| 41 | 'append' => '' |
|
| 42 | ); |
|
| 43 | ||
| 44 | ||
| 45 | // do not delete! |
|
| 46 | parent::__construct(); |
|
| 47 | } |
|
| 48 | ||
| 49 | ||
| 50 | /* |
|
| @@ 32-48 (lines=17) @@ | ||
| 29 | * @return n/a |
|
| 30 | */ |
|
| 31 | ||
| 32 | function __construct() { |
|
| 33 | ||
| 34 | // vars |
|
| 35 | $this->name = 'password'; |
|
| 36 | $this->label = __("Password",'acf'); |
|
| 37 | $this->defaults = array( |
|
| 38 | 'placeholder' => '', |
|
| 39 | 'prepend' => '', |
|
| 40 | 'append' => '', |
|
| 41 | 'readonly' => 0, |
|
| 42 | 'disabled' => 0, |
|
| 43 | ); |
|
| 44 | ||
| 45 | ||
| 46 | // do not delete! |
|
| 47 | parent::__construct(); |
|
| 48 | } |
|
| 49 | ||
| 50 | ||
| 51 | /* |
|