wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



make_db_current_silent › WordPress Function

Depuis1.5.0
Dépréciéen/a
make_db_current_silent ( $tables = 'all' )
Paramètres:
  • (string) $tables Optional. Which set of tables to update. Default is 'all'.
    Requis: Non
    Défaut: 'all'
Voir:
Défini(e) dans:
Codex:

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().


Source

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