Codex tools: Log in / create account
Contents |
Update user option with global blog capability.
User options are just like user metadata except that they have support for global blog options. If the 'global' parameter is false, which it is by false it will prepend the WordPress table prefix to the option name.
<?php update_user_option( $user_id, $option_name, $newvalue, $global ) ?>
Since: 2.0.0
update_user_option() is located in wp-includes/user.php.