acf/blocks/fields_needing_wide_popover filter-hookACF 6.7.0

Filters the field types that require a wider popover for inline editing.

Usage

add_filter( 'acf/blocks/fields_needing_wide_popover', 'wp_kama_acf_blocks_fields_needing_wide_popover_filter' );

/**
 * Function for `acf/blocks/fields_needing_wide_popover` filter-hook.
 * 
 * @param array $field_types An array of field type names.
 *
 * @return array
 */
function wp_kama_acf_blocks_fields_needing_wide_popover_filter( $field_types ){
	// filter...
	return $field_types;
}
$field_types(array)
An array of field type names.

Changelog

Since 6.7.0 Introduced.

Where the hook is called

acf_inline_toolbar_editing_attrs()
acf/blocks/fields_needing_wide_popover
acf/pro/blocks.php 2087-2095
$fields_needing_wide_popover = apply_filters(
	'acf/blocks/fields_needing_wide_popover',
	array(
		'gallery',
		'relationship',
		'wysiwyg',
		'google_map',
	)
);

Where the hook is used in Advanced Custom Fields PRO

Usage not found.