apply_filters( 'dbdelta_create_queries', string[] $cqueries )

Filters the dbDelta SQL queries for creating tables and/or databases.

Description

Queries filterable via this hook contain "CREATE TABLE" or "CREATE DATABASE".

Parameters

$cqueries

(string[]) An array of dbDelta create 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_create_queries