acf_field_tab::load_fieldpublicACF 3.6

This filter is appied to the $field after it is loaded from the database

Method of the class: acf_field_tab{}

No Hooks.

Returns

$field. - the field array holding all the field options

Usage

$acf_field_tab = new acf_field_tab();
$acf_field_tab->load_field( $field );
$field(required)
.

Changelog

Since 3.6 Introduced.

acf_field_tab::load_field() code ACF 6.0.4

function load_field( $field ) {

	// remove name to avoid caching issue
	$field['name'] = '';

	// remove instructions
	$field['instructions'] = '';

	// remove required to avoid JS issues
	$field['required'] = 0;

	// set value other than 'null' to avoid ACF loading / caching issue
	$field['value'] = false;

	// return
	return $field;

}