make_db_current_silent()
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().
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
make_db_current_silent( $tables );
- $tables(строка)
- Which set of tables to update.
По умолчанию: 'all'
Заметки
- Смотрите: make_db_current()
Список изменений
С версии 1.5.0 | Введена. |
Код make_db_current_silent() make db current silent WP 6.7.1
function make_db_current_silent( $tables = 'all' ) { dbDelta( $tables ); }