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.


Top ↑

Source Source

File: wp-includes/post.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
3.9.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.