acf_field_message::initialize
__construct
This function will setup the field type data
Method of the class: acf_field_message{}
No Hooks.
Returns
null. Nothing (null).
Usage
$acf_field_message = new acf_field_message(); $acf_field_message->initialize();
Changelog
| Since 5.0.0 | Introduced. |
acf_field_message::initialize() acf field message::initialize code ACF 6.0.4
function initialize() {
// vars
$this->name = 'message';
$this->label = __( 'Message', 'acf' );
$this->category = 'layout';
$this->defaults = array(
'message' => '',
'esc_html' => 0,
'new_lines' => 'wpautop',
);
}