Directly on the question – no, the get_the_author_meta()
function is not supposed to return you by default the birthday date when you provide 0 for user ID, as it is not a default user meta field. Yet, providing 0 is the same as not providing a user ID at all, hence the function tries to get the author ID from the global $authordata
variable.
Looking at the bottom of the code of the function, there is this last line in it, which suggests something (a plugin or the theme) might be messing with you:
return apply_filters( "get_the_author_{$field}", $value, $user_id, $original_user_id );
Related Posts:
- If Else Gravatar Author Picture
- Author list ‘special’ author first then ‘normal’ author
- Author custom fields post meta, the code?
- How can I get the author description’s excerpt?
- Filter Author Bio
- How to use Buddypress xProfile field as WordPress Bio
- Display author name, outside the loop, if they haven’t published a custom post
- Difference between last_name and user_lastname
- Getting list of top 10 users and sort on last name
- get_the_author_meta not working
- Creating a button from data from Author meta
- WordPress Author Information show paragraph?
- the_author_meta not resetting
- Removing “HTTP://” From the_author_meta?
- How to check if a user (not current user) is logged in?
- Woocommerce: assign an “author” to a product
- Programatically change post author
- Restrict one post per author
- Author page: Comments and Ratings?
- Add rewrite endpoint to author page + pagination
- How can an author be subscribed to the posts of another author and receive notifications of the new posts?
- How we can get the author ID by its Name
- How to hide posts count and posts of other users from edit.php for contributors and authors
- Creating distinct pages for author profiles and lists of posts by author
- Making WordPress author follow button, need missing ingredient
- Get the comment author ID by the comment ID
- Author profile visitors in last 7 days in front end without plugins
- How To Remove The Author(s) From Certain Posts
- Remove /author/ from the author profile url
- Google Authorship on a multi-author blog?
- Replace Gravatar with img URL for avatars
- Change author base slug to user role
- Display Author role in archive or author page
- How to Add Author Editing Capability to Existing Post by Admin
- Limit REST API output to current logged in user that is also author of the content
- Display only entire most recent post on author page?
- hide something in single page if current author has only one post
- Custom Author Loop
- Showing author’s page with no posts
- Plugin for an author bio popup box?
- How to link to the current User/Author Profile page?
- How to remove the dropdown author data from the post edit page
- Conditional/Check: IF comment author is the post author
- Get last revision author, author-link and date
- What do you put in child themes author tag?
- Make user as Default contributor for all Blog Posts
- How to list the authors of all revisions?
- WordPress doesn’t show all posts of a specific author
- Custom avatar image link added to the profile page
- Post list based on the page author
- Show Author information on post page on dashboard
- Author posts url… way to get display name to be url instead of user’s ID?
- Display emails of users who already posted at least once
- Get author’s first name
- Display only author posts in dashboard all posts panel
- Get avatar of the logged-in user in WordPress
- What does the class look like that is returned from WP_User_Query?
- Breadcrumbs – get the author?
- Is author.php a core file?
- Allow Google crawler to crawl specific Author pages
- Clean links in: the_author_meta(‘description’)
- Add Date and Author to Posts
- Changes show up in view source but not live site
- author slug in the backend
- Can I Include author login in post class?
- Get 404 when try open author page
- get the headlines of the authors’ last post
- Get Author Count By Day, Week and Month
- Detect and make links nofollow in author description
- Working with Gravatars within a localhost development area
- Author Page Create Link to Page That Lists All Author’s Posts?
- Display Recent Posts in BuddyPress Profile
- Possible to switch between admin view and author view?
- How to show author page link
- Display all authors in a theme template
- Featured image for social sharing ot author archive page
- Add Post Author body class to WordPress
- Improving Co-Authors Plus Plugin [closed]
- How to show list authors with at least five posts published
- Show Published and Draft posts from Logged in Author
- Create condition for Author bio Social Links
- Best way to set up “reviewed by” in WordPress?
- Filter Author Link for Numerous Authors for each to go to unique page
- WHen I click on post author (on frontend) it doesn’t go to author page
- Counting instances of words in the results of a post query
- can’t see information on author page that don’t have posts
- Show text only to the author of the article
- Display Random Post in Author Page
- Show author image at home page latestest posts plugin
- get_author_posts_url() Not working
- How to display author meta in a sidebar widget
- How to get the Author type Label Language
- Sticky post of current viewing author?
- How to get latest page (not post) of User and display the content
- How do you display a comment into a mail?
- Author.php display profile for all types of users
- Author Link Not Displaying
- Profile Field In Admin Bar
- why is there an author.php
- How to force the Author Dropdown to display in Quick/Bulk edit?