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

$cqueriesstring[]
An array of dbDelta create SQL queries.

Source

$cqueries = apply_filters( 'dbdelta_create_queries', $cqueries );

Changelog

VersionDescription
3.3.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.