update_user_meta add value on the top on existing value
There’s no built-in functionality to append meta values you’ll need to do it manually. If you plan on adding multiple values I would suggest saving it as an array but it will serialize it in the database which will make it harder to run WP_Meta_Query on. $user_id = fav_authors_get_user_id(); $fav_author_id = 2; $author_list = get_user_meta( … Read more