Updates the database tables to a new schema, but without displaying results.
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() .
$tablesstringoptional
'all'.Default:'all'
function make_db_current_silent( $tables = 'all' ) {
dbDelta( $tables );
}
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/make_db_current_silent