$post_attachment->post_author will return user ID. You need to fetch user details from user ID.
get_userdata( $userid );
Related Posts:
- How to find attachment ID for first image in a post
- Uploaded attachment not set as featured image
- Hook after attachment added and cropped
- how to get the top 10 popular blogs
- Issue on Getting WP Gallery Items In cpt-single.php As Attachments
- How can I add an image upload field directly to a custom write panel?
- Custom collection in media manager?
- How to implement add_image_size in a plugin
- Writing a plugin that notify my friends of new post that mentions(@) them
- How to catch images with blank dimensions?
- Add an image gallery to a custom post type?
- Having Problem On Getting WP Post Gallery Images URL
- Why are two functions over-riding each other?
- Set first image (external) as featured image / thumbnail
- Rest Api How to get results of child categories with one api call
- Hook event for upload image in the menu
- How to get an image transferred via FTP or script to appear in Media Manager?
- Is it possible to modify the media library admin screen?
- WordPress Plugin Setting’s POST
- Add media and attach images to pages
- Comment `Reply` link doesn’t work if comments are loaded from ajax
- comment_email hook doesn’t seem to work for comment editor field
- Is there a better way to implement responsive images than what WordPress uses by default?
- Show comments fields in two columns
- Save image as featured image
- How to show large image in checkout page using WP Ecommerce plugin [closed]
- Hook to get image filename when it is uploaded
- How to send email in wordpress with more than one attachments
- preprocess_comment array doesn’t have comment_ID
- Resizing Images for a Gallery-Plugin?
- How do I alter the comment form ‘allowed tags’ text in a plugin?
- Can wp_list_comments output into variable?
- Comments do not respect display_name setting, how to make plugin to overcome this
- Slow WP_query due to nested wp_query. Need Suggestions
- $reverse_top_level works the opposite way according to Codex?
- How to integrate CLEditor to comment system?
- get post attachment using ajax
- How to serve different thumbnails/images depending on users browser/platform
- how to get link of added document with a post
- How to Upload Images From a Folder (Not WP_Uploads)
- wp_set_object_terms not updating database without a die()
- How to export post meta with images in wordpress
- Putting a resized image into media library with wp_get_image_editor(
- pre_get_post alter current post id
- Display list of uploaded images, filtered by user under a specific user group
- is pre_get_comments not working?
- Which is the better way to store images for the plugin?
- Run a function when new image is uploaded in media library
- How to replace default comments with custom HTML?
- Why in this archive page that call query_posts() function show only the last 10 posts?
- How do I change the image from the default mysteryman in the WP Profile page
- Custom avatars in wordpress comments?
- Conditional Generation of Image Sizes using add_image_size
- how to change image of jquery slider plugin
- how to load the comment template from a plugin
- WP Still Generating 150×150 Thumbnail Size Even After Un-Setting Small Size in Functions.php
- Cleaning a filename after image sideloading a url that contains `%20`
- How to list all images used on a specific page?
- Screenshots on plugin page taken old [closed]
- Resize not resizing images with Capitial extension like JPG
- How to get the number of pages when paginating comments?
- How does “Your comment is awaiting moderation” work?
- How to move an image in a plugin to the upload directory and make it as a media of wordpress?
- disable defaault wordpress comments from a plugin
- The URL of images on my website changed after being set as featured image
- How to show comments from different Plugins to same post type?
- How to check if `comment_meta` exists before inserting the comment?
- How to get the `comment_post_ID`?
- Getting incorrect filepath inside custom block front-end output using @wordpress/create-block tutorial
- WordPress Favicon not Working For Images/Videos/PDFs
- Adding the image selector/uploader to an admin back page
- WordPress discards PNG file when uploading plugin file
- Hook for validating and rejecting frontend image upload
- WordPress Iframe for blog image
- Email content as comment
- Replace the WordPress Media Library Uploader
- Unexpected issue when using attachment_fields_to_edit filter
- admin-ajax.php returns “No Script Kiddies!” sometimes
- WP Query Relations / Compare
- Query only title/field/featured media of posts [closed]
- Caption Shortcode: what filter to change the image size?
- Stop theme displaying comments
- Filter the_content() to add custom figure tags
- How to limit the number of posts a user can view based on status
- Get Commentor IP When Marking Comment As Spam
- How can I add recent posts to menu like mashable
- How to show post attachment image
- Attach an image to new posts
- Is it possible to convert various image types from remote URLs to WebP and then serve them immediately?
- Images not displaying on live server
- Get next page in get_posts
- isset($_POST[‘submit’]) ignored on comment submission
- Using “add_image_size” to register custom image sizes inside plugins not working
- Leveraging Core Functionality in Icon Upload Plugin [closed]
- Displaying an Uploaded Image as a Custom Avatar in WordPress
- Add a custom image source
- Upload to a specific media folder created by FileBird Lite
- How to get recent one post from each category on home page?
- How to add extra EXIF data when images are uploaded?
- Set srcset on a block image