acf/get_field_group_style filter-hookACF 5.0.0

Filters the generated CSS styles.

Usage

add_filter( 'acf/get_field_group_style', 'wp_kama_acf_get_field_group_style_filter', 10, 2 );

/**
 * Function for `acf/get_field_group_style` filter-hook.
 * 
 * @param string $style       The CSS styles.
 * @param array  $field_group The field group array.
 *
 * @return string
 */
function wp_kama_acf_get_field_group_style_filter( $style, $field_group ){
	// filter...
	return $style;
}
$style(string)
The CSS styles.
$field_group(array)
The field group array.

Changelog

Since 5.0.0 Introduced.

Where the hook is called

acf_get_field_group_style()
acf/get_field_group_style
acf/includes/acf-field-group-functions.php 429
return apply_filters( 'acf/get_field_group_style', $style, $field_group );

Where the hook is used in Advanced Custom Fields PRO

Usage not found.