make_db_current_silent( string $tables = ‘all’ )

Updates the database tables to a new schema, but without displaying results.

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() .

See also

Parameters

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

Default:'all'

Source

function make_db_current_silent( $tables = 'all' ) {
	dbDelta( $tables );
}

Changelog

VersionDescription
1.5.0Introduced.

User Contributed Notes

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