acf_translate_post_type()ACF 6.1

Translates the settings for an ACF internal post type.

No Hooks.

Returns

Array.

Usage

acf_translate_post_type( $post_type );
$post_type(array) (required)
The ACF post type array.

Changelog

Since 6.1 Introduced.

acf_translate_post_type() code ACF 6.8.8

function acf_translate_post_type( array $post_type ) {
	return acf_translate_internal_post_type( $post_type, 'acf-post-type' );
}