tables_to_repair

tables_to_repair

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('tables_to_repair') is found 1 times:

  • /wp-admin/maint/repair.php line 107
    	 * @since 3.0.0
    	 *
    	 * @param string[] $tables Array of prefixed table names to be repaired.
    	 */
    	$tables = array_merge( $tables, (array) apply_filters( 'tables_to_repair', array() ) );
    
    	// Loop over the tables, checking and repairing as needed.
    	foreach ( $tables as $table ) {
    		$check = $wpdb->get_row( "CHECK TABLE $table" );
    
    		echo '<p>';