Grab the data with a filter:
add_filter('wp_update_attachment_metadata', 'grab_meta_data');
function grab_meta_data($data, $post_id) {
// inspect $data here
return $data;
}
Related Posts:
- How can I add an image upload field directly to a custom write panel?
- Post meta vs separate database tables
- Checking if a file is already in the Media Library
- Standard location for plugin to save/cache files?
- Saving data-URI to media library
- Can I use the wp media uploader for my own plugin?
- get_template_part from plugin
- Change Media Uploader default directory
- How to control output of custom post type without modifying theme?
- Changing upload directory for plugin uploads only
- Upload file to remote storage
- Unit testing to simulate the loop
- Save metabox with multiple checkbox array
- How to enable users to down-vote in this simple voting counter (that uses the post meta)?
- Why are two functions over-riding each other?
- How to Display Custom Post Type’s Gallery (images ) in Through WP_Query
- WordPress Media mime type filter problem 4.0
- How can I add a custom meta value on file upload?
- How can I free up the memory used by update_post_meta?
- Is there a way to list tags order by post_meta field
- Using the component outside the editor. select(‘core’) is null
- Paging on a future post loop?
- Proper way to hook wp_get_attachment_url
- Getting Details Of Uploaded Image
- Plugin development: get_post_meta is not working [closed]
- Sharing a common set of image files for media library, across all sites within multisite
- Uploading images from a custom page using blueimp uploader?
- Ordering posts by metadata
- Hook to get image filename when it is uploaded
- How to send email in wordpress with more than one attachments
- Act on user meta updated, but only once
- Finding posts containing matching array elements in a meta field usign WP_Query
- How to check if Woocommerce Order number equals to post ID?
- Using the default wordpress uploader inside plugin
- Files automatically added
- get_the_excerpt() not working in plugin loop
- What filter should I use to insert a button inside on Media>Add New
- using new WP_Query in save_post function alters $post
- Changing upload dir in a plugin regardless of post type
- update post meta for checkbox in the admin when inserted in the front-end
- Slow WP_query due to nested wp_query. Need Suggestions
- How to replicate Media Library “Add New” on Plugin Settings Page
- Plugin writing: access file that was just uploaded
- 403 Error when text is pasted in Custom Metabox Textarea
- Custom delete option button in plugin settings
- Saving value of a selection option in comment form as comment meta
- Add a Save Button to Custom Meta Box [duplicate]
- Plugin with action ‘save_post’ needs to press publish twice on order to publish
- How to enable sorting in custom media uploader in plugin
- Create a new post using rest api and save featured image using an external image url
- Why is the temporary upload always 4.1K
- Doubts about the use of metadata and how this can affect performance on WordPress
- update_post_meta not working in a loop
- Run Shortcode of post’s custom field in functions.php / Plugin
- Get draggable widgets on Edit Post page
- Upload multiple images and insert them into custom html code
- wp_editor add media button not working
- How to get the post excerpt using post object?
- Delist entries in the_loop
- WordPress Specified file failed upload test
- WP nonce field checkbox prints checked=’checked’ outside input field
- Add function after the_content
- Ajax: Populate with content from a post’s ID not working – duplicating current page html instead
- How to create a digital product download link that can’t be used twice?
- Issues Updating Post Meta with AJAX (Seems simple but cannot figure it out)
- Using delete_post_meta for deleting multiple selected options
- How to submit/upload data to database and in specific folder?
- Cleaning a filename after image sideloading a url that contains `%20`
- Plugin can’t be activated [closed]
- Remember the Meta Value With Radio Buttons
- Get Posts by IDs (optionally)
- Any way to update_post_meta with html content? It gets stripped and becomes empty
- Remove Meta-boxes (Yoast SEO plugin) [duplicate]
- Is there a way to add a link with add_post_meta?
- How to move an image in a plugin to the upload directory and make it as a media of wordpress?
- Adjust query on single
- Displaying Custom Post Meta
- How to destroy or dispose wordpress uploder/manager?
- Include add_post_meta in a plugin
- Displaying $_FILES data (simlar to $_POST)
- Best Way to Grab Post ID from Plugin
- Changing upload directory for plugin uploads only
- Loop output for custom plugin [solution found]
- How do you filter get_media_items by mime type in a custom media upload tab?
- Is it possible to convert various image types from remote URLs to WebP and then serve them immediately?
- upload script in plugin development [duplicate]
- Leveraging Core Functionality in Icon Upload Plugin [closed]
- Upload to a specific media folder created by FileBird Lite
- A better way of getting draft posts that has a particular post meta using get_posts function
- Load images from CDN and custom features to “Add Media” dialogue
- upload image to wordpress media library failed for custom post type
- wp media uploader and ID3 tags
- WordPress Playground and uploading permission issue
- Do uploaded files to /tmp/ get deleted in WordPress automatically?
- Images stored from external API not loading
- Can’t save Image from external API into Database
- How to modify the uploads directory for wp.media.frame assigning an subfolder name
- WordPress Media Uploader not displaying image that has just been uploaded
- How to assign to each output values from foreach loop to a meta_key?
- Multimedia upload error in my wordpress job board plugin