acf_field_tab::initializepublicACF 5.0.0

__construct

This function will setup the field type data

Method of the class: acf_field_tab{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

Changelog

Since 5.0.0 Introduced.

acf_field_tab::initialize() code ACF 6.0.4

function initialize() {

	// vars
	$this->name     = 'tab';
	$this->label    = __( 'Tab', 'acf' );
	$this->category = 'layout';
	$this->defaults = array(
		'placement' => 'top',
		'endpoint'  => 0, // added in 5.2.8
	);

}