On this page
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
$tablesstring Optional-
Which set of tables to update. Default is
'all'.Default:
'all'
Source
File: wp-admin/includes/upgrade.php. View all references
function make_db_current_silent( $tables = 'all' ) {
dbDelta( $tables );
}
Related
Uses
| Uses | Description |
|---|---|
| dbDelta() wp-admin/includes/upgrade.php | Modifies the database based on specified SQL statements. |
Used By
| Used By | Description |
|---|---|
| wp_initialize_site() wp-includes/ms-site.php | Runs the initialization routine for a given site. |
| wp_upgrade() wp-admin/includes/upgrade.php | Runs WordPress Upgrade functions. |
| wp_install() wp-admin/includes/upgrade.php | Installs the site. |
| install_blog() wp-includes/ms-deprecated.php | Install an empty blog. |
Changelog
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/make_db_current_silent