Used By
Used By | Description |
---|---|
wp-includes/post.php: wp_insert_post() | Insert or update a post. |
Filters attachment post data before it is updated in or added to the database.
(array) An array of slashed, sanitized, and processed attachment post data.
(array) An array of slashed and sanitized attachment post data, but not processed.
(array) An array of slashed yet *unsanitized* and unprocessed attachment post data as originally passed to wp_insert_post().
File: wp-includes/post.php
Version | Description |
---|---|
5.4.1 | $unsanitized_postarr argument added. |
3.9.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_insert_attachment_data