acf/get_field_group_style хук-фильтрACF 5.0.0

Filters the generated CSS styles.

Использование

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(строка)
The CSS styles.
$field_group(массив)
The field group array.

Список изменений

С версии 5.0.0 Введена.

Где вызывается хук

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

Где используется хук в Advanced Custom Fields PRO

Использование не найдено.