dbdelta_queries filter-hookWP 3.3.0

Filters the dbDelta SQL queries.

Usage

add_filter( 'dbdelta_queries', 'wp_kama_dbdelta_queries_filter' );
function wp_kama_dbdelta_queries_filter( $queries ){
	// filter...

	return $queries;
}
$queries(string[])
An array of dbDelta SQL queries.

Changelog

Since 3.3.0 Introduced.

Where the hook is called

dbDelta()
dbdelta_queries
wp-admin/includes/upgrade.php 2722
$queries = apply_filters( 'dbdelta_queries', $queries );

Where the hook is used in WordPress

Usage not found.