Title: make_db_current_silent
Published: April 25, 2014
Last modified: February 24, 2026

---

# make_db_current_silent( string $tables )

## In this article

 * [Description](https://developer.wordpress.org/reference/functions/make_db_current_silent/?output_format=md#description)
    - [See also](https://developer.wordpress.org/reference/functions/make_db_current_silent/?output_format=md#see-also)
 * [Parameters](https://developer.wordpress.org/reference/functions/make_db_current_silent/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/functions/make_db_current_silent/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/functions/make_db_current_silent/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/functions/make_db_current_silent/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/functions/make_db_current_silent/?output_format=md#wp--skip-link--target)

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

## 󠀁[Description](https://developer.wordpress.org/reference/functions/make_db_current_silent/?output_format=md#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()](https://developer.wordpress.org/reference/functions/wp_get_db_schema/).

### 󠀁[See also](https://developer.wordpress.org/reference/functions/make_db_current_silent/?output_format=md#see-also)󠁿

 * [make_db_current()](https://developer.wordpress.org/reference/functions/make_db_current/)

## 󠀁[Parameters](https://developer.wordpress.org/reference/functions/make_db_current_silent/?output_format=md#parameters)󠁿

 `$tables`stringoptional

Which set of tables to update. Default is `'all'`.

## 󠀁[Source](https://developer.wordpress.org/reference/functions/make_db_current_silent/?output_format=md#source)󠁿

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

[View all references](https://developer.wordpress.org/reference/files/wp-admin/includes/upgrade.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/6.9.4/src/wp-admin/includes/upgrade.php#L3364)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-admin/includes/upgrade.php#L3364-L3366)

## 󠀁[Related](https://developer.wordpress.org/reference/functions/make_db_current_silent/?output_format=md#related)󠁿

| Uses | Description | 
| [dbDelta()](https://developer.wordpress.org/reference/functions/dbdelta/)`wp-admin/includes/upgrade.php` |

Modifies the database based on specified SQL statements.

  |

| Used by | Description | 
| [wp_initialize_site()](https://developer.wordpress.org/reference/functions/wp_initialize_site/)`wp-includes/ms-site.php` |

Runs the initialization routine for a given site.

  | 
| [wp_upgrade()](https://developer.wordpress.org/reference/functions/wp_upgrade/)`wp-admin/includes/upgrade.php` |

Runs WordPress Upgrade functions.

  | 
| [wp_install()](https://developer.wordpress.org/reference/functions/wp_install/)`wp-admin/includes/upgrade.php` |

Installs the site.

  | 
| [install_blog()](https://developer.wordpress.org/reference/functions/install_blog/)`wp-includes/ms-deprecated.php` |

Install an empty blog.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/functions/make_db_current_silent/?output_format=md#changelog)󠁿

| Version | Description | 
| [1.5.0](https://developer.wordpress.org/reference/since/1.5.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2Fmake_db_current_silent%2F)
before being able to contribute a note or feedback.