make_db_current_silent()
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().
No Hooks.
Return
null
. Nothing (null).
Usage
make_db_current_silent( $tables );
- $tables(string)
- Which set of tables to update.
Default: 'all'
Notes
- See: make_db_current()
Changelog
Since 1.5.0 | Introduced. |
make_db_current_silent() make db current silent code WP 6.8
function make_db_current_silent( $tables = 'all' ) { dbDelta( $tables ); }