Changeset 24490 for trunk/wp-includes/user.php
- Timestamp:
- 06/21/2013 12:45:11 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/user.php
r24345 r24490 792 792 * @param mixed $meta_value Metadata value. 793 793 * @param bool $unique Optional, default is false. Whether the same key should not be added. 794 * @return bool False for failure. True for success.794 * @return int|bool Meta ID on success, false on failure. 795 795 */ 796 796 function add_user_meta($user_id, $meta_key, $meta_value, $unique = false) { … … 812 812 * @param string $meta_key Metadata name. 813 813 * @param mixed $meta_value Optional. Metadata value. 814 * @return bool False for failure. True for success.814 * @return bool True on success, false on failure. 815 815 */ 816 816 function delete_user_meta($user_id, $meta_key, $meta_value = '') { … … 851 851 * @param mixed $meta_value Metadata value. 852 852 * @param mixed $prev_value Optional. Previous value to check before removing. 853 * @return bool False on failure, true if success.853 * @return bool True on success, false on failure. 854 854 */ 855 855 function update_user_meta($user_id, $meta_key, $meta_value, $prev_value = '') {
Note: See TracChangeset
for help on using the changeset viewer.