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

Filters the attachment fields to be saved.


Description

See also


Parameters

$post

An array of post data.

$attachment

An array of attachment metadata.


Source

File: wp-admin/includes/media.php

View on GitHub



Changelog

Changelog
Version Description
WP-2.5.0 Introduced.