media_single_attachment_fields_to_edit

Advertisement

Summery Summery

Retrieves the single non-image attachment fields to edit form fields.

Syntax Syntax

media_single_attachment_fields_to_edit( array $form_fields, WP_Post $post )

Parameters Parameters

$form_fields

(Required) An array of attachment form fields.

$post

(Required) The WP_Post attachment object.

Return Return

(array) Filtered attachment form fields.

Source Source

File: wp-admin/includes/media.php

 * @since 2.7.0
 *
 * @param WP_Post $post
 * @param string  $url_type

Advertisement

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.

Advertisement

Leave a Reply