media_post_single_attachment_fields_to_edit

Advertisement

Summery Summery

Retrieves the post non-image attachment fields to edito form fields.

Syntax Syntax

media_post_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

	$url = '';

	if ( 'file' === $url_type ) {

Advertisement

Changelog Changelog

Changelog
Version Description
2.8.0 Introduced.

Advertisement

Leave a Reply