make_db_current( string $tables = 'all' )

In this article

Updates the database tables to a new schema.

Description

By default, updates all the tables to use the latest defined schema, but can also be used to update a specific set of tables in wp_get_db_schema() .

Parameters

$tablesstringoptional
Which set of tables to update. Default is 'all'.

Default:'all'

Source

* By default, updates all the tables to use the latest defined schema, but can also
* be used to update a specific set of tables in wp_get_db_schema().
*
* @since 1.5.0
*
* @uses dbDelta
*
* @param string $tables Optional. Which set of tables to update. Default is 'all'.

Changelog

VersionDescription
1.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.