WordPress.org

Make WordPress Core

Changeset 27965


Ignore:
Timestamp:
04/05/2014 10:29:41 PM (6 years ago)
Author:
DrewAPicture
Message:

Inline documentation for remaining hooks in wp-admin/includes/upgrade.php.

Props jackreichert, vancoder.
Fixes #27646.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/upgrade.php

    r27369 r27965  
    15561556        $queries = array_filter( $queries );
    15571557    }
     1558   
     1559    /**
     1560     * Filter the dbDelta SQL queries.
     1561     *
     1562     * @since 3.3.0
     1563     *
     1564     * @param array $queries An array of dbDelta SQL queries.
     1565     */
    15581566    $queries = apply_filters( 'dbdelta_queries', $queries );
    15591567
     
    15771585        }
    15781586    }
     1587   
     1588    /**
     1589     * Filter the dbDelta SQL queries for creating tables and/or databases.
     1590     *
     1591     * Queries filterable via this hook contain "CREATE TABLE" or "CREATE DATABASE".
     1592     *
     1593     * @since 3.3.0
     1594     *
     1595     * @param array $cqueries An array of dbDelta create SQL queries.
     1596     */
    15791597    $cqueries = apply_filters( 'dbdelta_create_queries', $cqueries );
     1598
     1599    /**
     1600     * Filter the dbDelta SQL queries for inserting or updating.
     1601     *
     1602     * Queries filterable via this hook contain "INSERT INTO" or "UPDATE".
     1603     *
     1604     * @since 3.3.0
     1605     *
     1606     * @param array $iqueries An array of dbDelta insert or update SQL queries.
     1607     */
    15801608    $iqueries = apply_filters( 'dbdelta_insert_queries', $iqueries );
    15811609
Note: See TracChangeset for help on using the changeset viewer.