apply_filters( 'attachment_fields_to_save', array $post, array $attachment )

Filters the attachment fields to be saved.

Description Description

See also See also

Top ↑

Parameters Parameters


(array) An array of post data.


(array) An array of attachment metadata.

Top ↑

Source Source

File: wp-admin/includes/media.php

View on Trac

Top ↑

Changelog Changelog

Version Description
2.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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