name = 'acfe_hidden';
$this->label = __('Hidden', 'acfe');
$this->category = 'basic';
$this->defaults = array(
'default_value' => ''
);
parent::__construct();
}
function render_field($field){
?>
__('Value','acf'),
'instructions' => __('Default value in the hidden input','acf'),
'type' => 'text',
'name' => 'default_value',
));
}
}
// initialize
acf_register_field_type('acfe_field_hidden');
endif;