make_db_current_silent

Advertisement

Summery Summery

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

Syntax Syntax

make_db_current_silent( string $tables = 'all' )

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

Parameters Parameters

$tables

(Optional) Which set of tables to update. Default is 'all'.

Default value: 'all'

Source Source

File: wp-admin/includes/upgrade.php

			$for_update[] = 'Added index ' . $table . ' ' . $index;
		}

Advertisement

Changelog Changelog

Changelog
Version Description
1.5.0 Introduced.

See also See also

Advertisement

Leave a Reply