acf_update_db_version()ACF 5.4.0

Updates the ACF DB version.

No Hooks.

Returns

null. Nothing (null).

Usage

acf_update_db_version( $version );
$version(string)
The new version.
Default: ''

Changelog

Since 5.4.0 Introduced.

acf_update_db_version() code ACF 6.8.8

function acf_update_db_version( $version = '' ) {
	update_option( 'acf_version', $version );
}