acf_field_password::initialize
initialize
This function will setup the field type data
Method of the class: acf_field_password{}
No Hooks.
Returns
null. Nothing (null).
Usage
$acf_field_password = new acf_field_password(); $acf_field_password->initialize();
Changelog
| Since 5.0.0 | Introduced. |
acf_field_password::initialize() acf field password::initialize code ACF 6.0.4
function initialize() {
// vars
$this->name = 'password';
$this->label = __( 'Password', 'acf' );
$this->defaults = array(
'placeholder' => '',
'prepend' => '',
'append' => '',
);
}