tables_to_repair WordPress Filter Hook

The tables_to_repair Wordpress hook allows you to specify which database tables need to be repaired. This is useful if you have a lot of tables and you only want to repair the ones that are actually damaged.

apply_filters( 'tables_to_repair', string[] $tables ) #

Filters additional database tables to repair.


Parameters

$tables

(string[])Array of prefixed table names to be repaired.


Top ↑

Source

File: wp-admin/maint/repair.php

View on Trac


Top ↑

Changelog

Changelog
VersionDescription
3.0.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.