Make WordPress Core


Ignore:
Timestamp:
08/11/2022 02:01:35 PM (3 years ago)
Author:
johnbillion
Message:

Docs: Correct and improve the documented types for various functions and hooks.

See #55646

File:
1 edited

Legend:

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

    r53827 r53877  
    12321232 * @param string $primary_id_column Primary ID column name.
    12331233 * @param object $context           Optional. The main query object
    1234  * @return array Associative array of `JOIN` and `WHERE` SQL.
     1234 * @return string[]|false {
     1235 *     Array containing JOIN and WHERE SQL clauses to append to the main query,
     1236 *     or false if no table exists for the requested meta type.
     1237 *
     1238 *     @type string $join  SQL fragment to append to the main JOIN clause.
     1239 *     @type string $where SQL fragment to append to the main WHERE clause.
     1240 * }
    12351241 */
    12361242function get_meta_sql( $meta_query, $type, $primary_table, $primary_id_column, $context = null ) {
Note: See TracChangeset for help on using the changeset viewer.