apply_filters( 'dbdelta_insert_queries', string[] $iqueries )

Filters the dbDelta SQL queries for inserting or updating.

Description

Queries filterable via this hook contain "INSERT INTO" or "UPDATE".

Parameters

$iqueries

(string[]) An array of dbDelta insert or update SQL queries.

Source

File: wp-admin/includes/upgrade.php

View on Trac

Changelog

Version Description
3.3.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/dbdelta_insert_queries