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

Filters the attachment fields to be saved.


Description

See also


Parameters

$post

(array) An array of post data.

$attachment

(array) An array of attachment metadata.


Source

File: wp-admin/includes/media.php

View on GitHub



Changelog

Changelog
Version Description
WP-2.5.0 Introduced.