Make WordPress Core


Ignore:
Timestamp:
02/21/2023 04:37:03 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Docs: Document default values for optional parameters in various DocBlocks.

Props paulkevan, costdev, audrasjb, SergeyBiryukov.
See #56792.

File:
1 edited

Legend:

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

    r55311 r55398  
    346346     * @param object $context           Optional. The main query object that corresponds to the type, for
    347347     *                                  example a `WP_Query`, `WP_User_Query`, or `WP_Site_Query`.
     348     *                                  Default null.
    348349     * @return string[]|false {
    349350     *     Array containing JOIN and WHERE SQL clauses to append to the main query,
     
    522523     * @param string $clause_key   Optional. The array key used to name the clause in the original `$meta_query`
    523524     *                             parameters. If not provided, a key will be generated automatically.
     525     *                             Default empty string.
    524526     * @return string[] {
    525527     *     Array containing JOIN and WHERE SQL clauses to append to a first-order query.
Note: See TracChangeset for help on using the changeset viewer.