Changeset 13088
- Timestamp:
- 08/22/2021 11:42:56 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/bp-xprofile-functions.php
r13012 r13088 984 984 * specified meta_key. This parameter has no effect if meta_key is not 985 985 * specified. Default: true. 986 * @return mixed Meta value if found. False on failure. 986 * @return mixed An array of values if `$single` is false. 987 * The value of the meta field if `$single` is true. 988 * False for an invalid `$object_type` (one of `group`, `field`, `data`). 989 * False for an invalid `$object_id` (non-numeric, zero, or negative value), 990 * or if `$meta_type` is not specified. 991 * An empty string if a valid but non-existing object ID is passed. 987 992 */ 988 993 function bp_xprofile_get_meta( $object_id, $object_type, $meta_key = '', $single = true ) {
Note: See TracChangeset
for help on using the changeset viewer.