Title: Calling update_user_meta multiple times
Last modified: October 3, 2018

---

# Calling update_user_meta multiple times

 *  [islp](https://wordpress.org/support/users/islp/)
 * (@islp)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/calling-update_user_meta-multiple-times/)
 * Is there something wrong/dangerous in calling
 * `update_user_meta( $user_id, $key, $value );`
 * inside a loop once for every user of the website?
 * (users are about 400)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [7 years, 10 months ago](https://wordpress.org/support/topic/calling-update_user_meta-multiple-times/#post-10746582)
 * Is this a one time thing or something you’ll be doing regularly?
 * As some hosts may have timeouts on processes, you might want to break it up into
   several loops of 50 each.
 *  Thread Starter [islp](https://wordpress.org/support/users/islp/)
 * (@islp)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/calling-update_user_meta-multiple-times/#post-10746658)
 * This should be done regularly: anyway, to prevent timeout issue, I could design
   the interface so that the user can send only one value, making only one call 
   at a time.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Calling update_user_meta multiple times’ is closed to new replies.

## Tags

 * [update_user_meta](https://wordpress.org/support/topic-tag/update_user_meta/)

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 2 replies
 * 2 participants
 * Last reply from: [islp](https://wordpress.org/support/users/islp/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/calling-update_user_meta-multiple-times/#post-10746658)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
