dbdelta_insert_queries WordPress Filter Hook
The dbdelta_insert_queries hook is used to perform database inserts of data during the WordPress upgrade process. This hook is called when the dbdelta function is run, which is used to upgrade the WordPress database.
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
Changelog
Version | Description |
---|---|
3.3.0 | Introduced. |