acf_update_db_version()
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() acf update db version code ACF 6.8.8
function acf_update_db_version( $version = '' ) {
update_option( 'acf_version', $version );
}