acf_update_post_type()ACF 6.1

Updates an ACF post type in the database.

No Hooks.

Returns

array.

Usage

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

Changelog

Since 6.1 Introduced.

acf_update_post_type() code ACF 6.8.8

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