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.


Top ↑

Source

File: wp-admin/includes/upgrade.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.3.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.