WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

make_db_current() WP 1.5.0

Updates the database tables to a new schema.

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

Хуков нет.


Ничего (null).


make_db_current( $tables );
Which set of tables to update.
По умолчанию: 'all'

Код make db current: wp-admin/includes/upgrade.php WP 5.2.2

function make_db_current( $tables = 'all' ) {
	$alterations = dbDelta( $tables );
	echo "<ol>\n";
	foreach ( $alterations as $alteration ) {
		echo "<li>$alteration</li>\n";
	echo "</ol>\n";