dbdelta_queries WordPress Filter Hook
The dbdelta_queries hook is triggered after the dbdelta function has run, and can be used to modify the database queries that are run. This hook can be useful for making sure that your database is always up-to-date, or for running updates when a new plugin is activated.
apply_filters( 'dbdelta_queries', string[] $queries ) #
Filters the dbDelta SQL queries.
Parameters
- $queries
(string[])An array of dbDelta SQL queries.
Source
Changelog
Version | Description |
---|---|
3.3.0 | Introduced. |