• 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)

    (@sterndata)

    Volunteer Forum Moderator

    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

    (@islp)

    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.