make_db_current_silent()
make_db_current_silent( string $tables = ‘all’ )
将数据库表更新为新架构,但不显示结果。
Updates the database tables to a new schema, but without displaying results.
说明(Description)
另见函数 make_db_current()
参数(Parameters)
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
$tables | (string) | 可选 | 要更新的表集合。默认为“全部”。 |
返回(Return)
无返回值
源码(Source)
function make_db_current_silent( $tables = 'all' ) { dbDelta( $tables ); }
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
1.5.0 | wp-admin/includes/upgrade.php:2968 | 4 | 1 function |
make_db_current_silent() 为WP2原创文章,链接:https://www.wp2.cn/functions/make_db_current_silent/