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 ) #
Contents
Parameters
- $form_fields
(array)(Required)
Return
(array) $form_fields
Source
File: wp-admin/includes/class-custom-background.php
public function attachment_fields_to_edit( $form_fields ) { return $form_fields; }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
3.5.0 | This method has been deprecated. |
3.4.0 | Introduced. |