First of all get_users_of_blog has been deprecated, so you should use get_users instead, or run a WP_User_Query.
After that, the_author_meta echo the meta value, not return anything. To return the meta you should use get_the_author_meta()
$blogusers = get_users( $args ); // for args see codex
if ($blogusers) {
foreach ( $blogusers as $bloguser ) {
$user_location = get_the_author_meta('geo_address', $bloguser->ID );
$has_meta = get_post_meta(463, 'geo_move', true);
if ($user_location && ! $has_meta) add_post_meta( 463, 'geo_move', $user_location);
}
}
Related Posts:
- Content hooks vs User hooks
- Job of meta_key meta_value fields in database tables
- get_*_meta doesn’t always return an array
- Like & Dislike functionality using JavaScript
- Array of user ids to list of user names
- get Insert id for meta field
- help to decipher wp metadata
- Check For get_post_meta on Author Archive Page
- show user based on user_meta
- Explanation of update_post_(meta/term)_cache
- How can I get the post ID from a WP_Query loop?
- Adding meta tag without plugin
- What is the different between an attachment in wp_posts and an attachment in wp_postmeta?
- How to edit a post meta data in a Gutenberg Block?
- Sanitizing integer input for update_post_meta
- if get_post_meta is empty do something
- Remove WordPress.org Meta link
- Give extra post-meta to RSS feeds
- Can’t translate the post meta data (Date) in another language
- adding a URL to a post meta
- Short of raw SQL, can I query for multiple attachment metadata that have a given array key?
- get_post_custom()
- Mass importing json data into custom fields (postmeta)
- How to echo get_post_meta (Fluent-Framework)
- How to add meta data to WordPress posts?
- How add post_meta from user_meta?
- get_post_meta remains empty while looping all menu items and using the ID
- how do I set a schedule event to modify all posts’s meta value weekly or monthly?
- How to stop wp_postmeta from being called on archive and search pages?
- WordPress front-end media (image) upload ERROR!
- running function during post save and adding variable to post meta
- update_post_meta saves nothing in database when run in publish_post
- Can’t access post meta on new post creation (cpt)
- How do I dynamically call a page/post author into the meta data?
- Set Condition echo function get_post_meta
- Custom post meta values reset by autosave [duplicate]
- Compare meta_query with a Regular Expression and do a less-than operation on it
- get_post_meta() not work for the first post inside the loop
- Custom query, multiple custom keys
- Trying to get property of non-object error using get_post_meta()
- How can I change the tag contents of individual WordPress posts?
- get_post_meta producing white screen of death
- update_post_meta not working in plugin
- Gutenberg: How to display meta field data in the block frontend (save function)
- Look up all posts by status or meta value – performance difference
- String taken from database table post_meta is showing HTML tags on Frontend
- Can A Post Meta Field Store multiple values that are not in an array?
- esc_attr on get_post_meta [closed]
- Sort custom posts in archive by multiple values: date AND meta key
- Delete posts based on post meta data
- How is the author’s name given a different color?
- How does WordPress treats attachments metadata in post content?
- How do I edit the posted “by” and “on” in the post meta
- URL to Post Meta [closed]
- Retrieving post meta array (attachment)
- Why is variable that get_post_meta stored in empty?
- using update_user_meta to rank users
- Stop `update_post_meta` from working each time page refreshes?
- Meta box with front-end styling
- Display Post Meta in Header
- get_template_part() isn’t loading author information
- Conditional For get_the_author_meta
- Custom fields or something else
- Is there a way combine posts meta_name?
- Format meta_value [closed]
- Compare User meta_value with Product meta_value
- I want to Add Feedburner Right After Meta Details
- if get_post_meta function returns empty – Do Not Display HTML
- Custom column on CPT not showing correct value when meta data not set
- How to access post meta on the first time a post is published
- Removing Malware
- I Can’t get the post_tag name from term_id using wp_set_object_terms
- After updating the custom post type, metafields disappear from the post.php edit menu, how do I fix it?
- Creating a custom post type upon registration for a specific user role
- How to update/add child posts meta whenever the parent post meta is updated?
- How to query post with meta?
- why is my postmeta table is so heavy
- update_post_meta() throws Uncaught error: Cannot create duplicate attribute
- Using a comma instead of a pipe to separate metadata
- Multiple meta key and value search in the query
- Meta keys won’t add using wp_insert_post
- How Can I extract Image urls from post meta
- Retrieve posts from meta key
- Assign postmeta in bulk
- Twenty Twelve entry meta data – change and move
- Re-order posts inside tax query
- How can I prevent the post_modified column in wp_posts from being updated?
- wordpress simple post multi rating with post_meta and user_meta
- Sorting meta box values by start- and enddate and all dates in between
- Use an id on a button to update_post_meta in post
- Using mysql queries to delete custom post types based on meta_value
- get_post_meta image width for lazy load
- Custom Fields help
- WP-API : post_meta not updated… but have another entry
- Parse error thrown by get_post_meta [closed]
- How to get all the related ids without array?
- Remove action of an external plugin after checking if custom post meta is set
- I am stuck between post meta function to call unique id
- Search posts by meta key in admin and front
- Add specific postmeta to search query