make_db_current_silent() - WordPress 函数参考中文文档

返回介绍

make_db_current_silent()

发布于 2017-09-11 字数1398 浏览 993 评论 0

make_db_current_silent( string $tables = 'all' )

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


参数

$tables

(string)
(Optional)
Which set of tables to update. Default is ‘all’.

Default value: ‘all’


源代码

File: wp-admin/includes/upgrade.php

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

更新日志

Version 描述
1.5.0 Introduced.

相关函数

Uses

  • wp-admin/includes/upgrade.php:
    dbDelta()

Used By

  • wp-admin/includes/upgrade.php:
    wp_upgrade()
  • wp-admin/includes/upgrade.php:
    wp_install()
  • wp-includes/ms-functions.php:
    install_blog()

User Contributed Notes

上一篇:make_db_current()

下一篇:make_site_theme()

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

目前还没有任何评论,快来抢沙发吧!