apply_filters( 'wp_insert_attachment_data', array $data , array $postarr )
Filters attachment post data before it is updated in or added to the database.
Description Description
Parameters Parameters
- $data
-
(array) An array of sanitized attachment post data.
- $postarr
-
(array) An array of unsanitized attachment post data.
Source Source
File: wp-includes/post.php
Changelog Changelog
Version | Description |
---|---|
3.9.0 | Introduced. |