Warning: This method has been deprecated.

Custom_Background::attachment_fields_to_edit() WordPress Method

The Custom_Background::attachment_fields_to_edit() method is used to add custom fields to the attachment edit screen. This is useful for adding extra data to attachments, such as copyright information or licensing details.

Custom_Background::attachment_fields_to_edit( array $form_fields ) #


Parameters

$form_fields

(array)(Required)


Top ↑

Return

(array) $form_fields


Top ↑

Source

File: wp-admin/includes/class-custom-background.php

	public function attachment_fields_to_edit( $form_fields ) {
		return $form_fields;
	}

Top ↑

Changelog

Changelog
VersionDescription
3.5.0This method has been deprecated.
3.4.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.