Make WordPress Core


Ignore:
Timestamp:
04/22/2020 09:38:12 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Document the default value of $single and $prev_value parameters in various metadata functions.

Props denisco.
See #49572.

File:
1 edited

Legend:

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

    r47198 r47610  
    10971097 * @param string $meta_key   Metadata key.
    10981098 * @param mixed  $meta_value Metadata value. Must be serializable if non-scalar.
    1099  * @param mixed  $prev_value Optional. Previous value to check before removing.
     1099 * @param mixed  $prev_value Optional. Previous value to check before updating.
    11001100 *                           Default empty.
    11011101 * @return int|bool Meta ID if the key didn't exist, true on successful update,
Note: See TracChangeset for help on using the changeset viewer.