acf/fields/flexible_content/layout_default_expanded filter-hookACF 3.6

Renders the flexible content field layouts in the field group editor.

Usage

add_filter( 'acf/fields/flexible_content/layout_default_expanded', 'wp_kama_acf_fields_flexible_content_layout_default_expanded_filter' );

/**
 * Function for `acf/fields/flexible_content/layout_default_expanded` filter-hook.
 * 
 * @param array $field An array holding all the field's data.
 *
 * @return array
 */
function wp_kama_acf_fields_flexible_content_layout_default_expanded_filter( $field ){
	// filter...
	return $field;
}
$field(array)
An array holding all the field's data.

Changelog

Since 3.6 Introduced.

Where the hook is called

acf_field_flexible_content::render_field_settings()
acf/fields/flexible_content/layout_default_expanded
acf/pro/fields/class-acf-field-flexible-content.php 327
$layout_open = apply_filters( 'acf/fields/flexible_content/layout_default_expanded', false );

Where the hook is used in Advanced Custom Fields PRO

Usage not found.