There was an associated post to this one that shed light on this answer. When registering the post type, I was not setting enough fields in the ‘supports’ array of the register_post_type
. Adding author, whatdayaknow, gives me the data I’m looking for.
Thanks to @milo for being on the right path!
register_post_type(self::POST_TYPE,
array(
'labels' => $labels,
'public' => true,
'has_archive' => true,
'description' => __(""),
'supports' => array(
'title', 'author'
),
)
)
NOTE: Post count in the User Accounts page is still 0 – but, the API is returning the data I want/need.
Related Posts:
- Hook that get’s triggered when the author of a post is changed
- the_author() returns empty string
- Prevent Authors from viewing each others Posts
- Display Random Author with Details in Sidebar
- Create posts on user registration
- How to show list of posts by author and category?
- WordPress: How to get the current logged in author page URL?
- How to add editor’s name to entry meta byline?
- Different permalink for posts and authors
- How to display posts by current user/author in a custom page template?
- Create posts without login from frontend
- Query posts distinct authors
- Restrict the Number of Posts an Author can Publish (over time)?
- Search posts by post author name
- Posts added with wp_insert_post are moved to trash automatically
- Get the user type of an author
- Prevent duplicate posts in wp_insert_post using custom fields
- Show the title of the latest post by author
- Find most recent authors
- duplicate posts when trying to update a post using the wp_insert_post.
- Show author post count in sidebar – Variable
- Create new WordPress post [wp_insert_post] based on results of a WP_Query
- Get current users post URL?
- Get the author of the latest revision
- Filter posts by author and category simultaneously
- Guest Author – How to modify my custom function code if the guest author URL will follow a particular pattern/format?
- Post author is changed to admin after his post is modified by admin
- Get all posts by post_author
- generate unique slug while inserting post
- How can I control multiple editing of wordpress posts?
- Multiple authors for single post without plugin
- Limit number of posts a user can make per minute?
- Authors in menu, template list post by author
- Show the author’s count of total amount of posts assign to a custom taxonomy term
- Author must complete profile info before they can publish a post?
- WP rest api returns 404 only when author param is used
- How can I list random authors from current post category?
- wp_insert_post works, but the post isn’t visible in the admin post list or front end
- How Can I Set the Post Author of a Post I Just Created With PHP?
- How can I show wordpress posts based on author?
- Show info to author only
- Auto “expire” all of an authors posts on spcific date
- How to get the user meta data for a post?
- Limit posts per author role (excluding admin) in home page
- Guest Author – How to display posts on /author/ archive page
- Email Post Attachment on wp_insert_post Action
- How can I show many posts an author has per week?
- How to give capability (publish contributors posts) to author role?
- post_content sanitization / transformation process
- wp_insert_post – duration
- How to prevent duplicate posts with wp_insert_post on single.php?
- Whitelist Author of Private Post
- Show posts by a custom post author
- Getting the current author (it has changed) of a post, not the original author
- Creating a post from data returned from HTML form
- Showing author page if user has no post
- Display Notification Bar on Header on Certain Post Count
- How do I retrieve a users’ last 5 posts?
- obtain the author id given the post id
- How do I insert a post with custom post type and relate it to a custom taxonomy?
- post category in wp_insert_post
- Show comment number per author per day
- Get all comments of author’s posts
- (solved) getting post author’s user role
- When creating a post how do you select the format?
- Change all author links in Blog roll
- Display author’s name and avatar in post’s sidebar
- static landing page leading to author specific pages w/ “live” content
- If contributor has published 2 or more posts then show otherwise hide
- All Posts Linking to Author Posts directly
- Change post author without using wp_update_post()
- Is it possible to lock all new and existing WordPress posts to one specific author?
- How to get the ability to change the author of a post
- Echo Text If User Is Logged in But NOT the Author of post
- Only allow posts with a specific term to only be viewed by other authors with the same term in their post
- How to limit author related post listing ?
- Creating a frontend blog post form for logged in users only
- How to hide meta from search result only on pages?
- Numbering author posts in posts query
- Custom author search
- Changing the Category for all posts of an Author
- List of authors posts minus very latest
- show latest authors blog post
- Getting posts from multiple users?
- Display the current post author and his url in the post header
- Create a Page Template Which Displays All Posts by Current User
- Set the limit to allow author when make post!
- Show last post of employee in his profile page
- Insert new post for each user infinite loop error
- How to get single post by one author?
- Notify Author of the post if admin deletes his post and perform some function
- how to show all type of author posts in author page (SOLVED)
- Echo author slug in post edit page
- How to show total view count across all posts for an author
- How can I add Author’s phone number to wp profile and make it appear in wp-admin/edit.php columns
- Add author section on Author archive posts
- Is there any point to using wp_unique_post_slug?
- How to make the Post Author name fixed as “Editorial Staff” even if there are multiple authors?
- Admin notice on wp_insert_post
- users followin the blog post author