dbdelta_create_queries

SummerySummery

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

Syntax

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

DescriptionDescription

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

ParametersParameters

$cqueries

(string[]) An array of dbDelta create SQL queries.

SourceSource

File: wp-admin/includes/upgrade.php

ChangelogChangelog

Changelog
Version Description
3.3.0 Introduced.
Scroll to Top