make_db_current_silent() WordPress Function
This function updates the database to the latest version. This is a silent operation, meaning that no messages will be displayed to the user.
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
- $tables
(string)(Optional) Which set of tables to update. Default is 'all'.
Default value: 'all'
Source
File: wp-admin/includes/upgrade.php
function make_db_current_silent( $tables = 'all' ) { dbDelta( $tables ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
1.5.0 | Introduced. |