Changeset 47611 for trunk/src/wp-includes/ms-site.php
- Timestamp:
- 04/22/2020 10:29:34 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-site.php
r47610 r47611 386 386 * 387 387 * @param array $site_ids List of site IDs. 388 * @return array|false Returns false if there is nothing to update. Returns an array of metadata on success.388 * @return array|false An array of metadata on success, false if there is nothing to update. 389 389 */ 390 390 function update_sitemeta_cache( $site_ids ) { … … 1060 1060 * @param int $site_id Site ID. 1061 1061 * @param string $meta_key Metadata name. 1062 * @param mixed $meta_value Optional. Metadata value. Must be serializable if 1063 * non-scalar. Default empty. 1062 * @param mixed $meta_value Optional. Metadata value. If provided, 1063 * rows will only be removed that match the value. 1064 * Must be serializable if non-scalar. Default empty. 1064 1065 * @return bool True on success, false on failure. 1065 1066 */ … … 1074 1075 * 1075 1076 * @param int $site_id Site ID. 1076 * @param string $key Optional. The meta key to retrieve. By default, returns 1077 * data for all keys. Default empty. 1078 * @param bool $single Optional. Whether to return a single value. Default false. 1079 * @return mixed Will be an array if $single is false. Will be value of meta data 1080 * field if $single is true. 1077 * @param string $key Optional. The meta key to retrieve. By default, 1078 * returns data for all keys. Default empty. 1079 * @param bool $single Optional. Whether to return a single value. 1080 * This parameter has no effect if $key is not specified. 1081 * Default false. 1082 * @return mixed An array if $single is false. The value of meta data field 1083 * if $single is true. 1081 1084 */ 1082 1085 function get_site_meta( $site_id, $key = '', $single = false ) {
Note: See TracChangeset
for help on using the changeset viewer.