acf_get_field_categories_i18n()ACF 6.1

Returns an array of localised field categories.

Hooks from the function

Returns

Array.

Usage

acf_get_field_categories_i18n();

Changelog

Since 6.1 Introduced.

acf_get_field_categories_i18n() code ACF 6.8.8

function acf_get_field_categories_i18n() {

	$categories_i18n = array(
		'basic'      => __( 'Basic', 'acf' ),
		'content'    => __( 'Content', 'acf' ),
		'choice'     => __( 'Choice', 'acf' ),
		'relational' => __( 'Relational', 'acf' ),
		'advanced'   => __( 'Advanced', 'acf' ),
		'layout'     => __( 'Layout', 'acf' ),
		'pro'        => __( 'PRO', 'acf' ),
	);

	return apply_filters( 'acf/localized_field_categories', $categories_i18n );
}