Make WordPress Core


Ignore:
Timestamp:
06/21/2013 12:45:11 PM (11 years ago)
Author:
SergeyBiryukov
Message:

PHPDoc fixes and additions. fixes #24616.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/user.php

    r24345 r24490  
    792792 * @param mixed $meta_value Metadata value.
    793793 * @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.
    795795 */
    796796function add_user_meta($user_id, $meta_key, $meta_value, $unique = false) {
     
    812812 * @param string $meta_key Metadata name.
    813813 * @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.
    815815 */
    816816function delete_user_meta($user_id, $meta_key, $meta_value = '') {
     
    851851 * @param mixed $meta_value Metadata value.
    852852 * @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.
    854854 */
    855855function update_user_meta($user_id, $meta_key, $meta_value, $prev_value = '') {
Note: See TracChangeset for help on using the changeset viewer.