acf_field_separator::initializepublicACF 5.0.0

This function will setup the field type data

Method of the class: acf_field_separator{}

No Hooks.

Returns

null. Nothing (null).

Usage

$acf_field_separator = new acf_field_separator();
$acf_field_separator->initialize();

Changelog

Since 5.0.0 Introduced.

acf_field_separator::initialize() code ACF 6.8.8

function initialize() {

	// vars
	$this->name          = 'separator';
	$this->label         = __( 'Separator', 'acf' );
	$this->preview_image = acf_get_url() . '/assets/images/field-type-previews/field-preview-separator.png';
	$this->supports      = array( 'required' => false );
	$this->category      = 'layout';
}