WordPress at Your Fingertips
function is not described

Custom_Background::attachment_fields_to_edit() public WP 3.4.0

Deprecated from version 3.5.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

{} It's a method of the class: Custom_Background{}

No Hooks.


Array. $form_fields


$Custom_Background = new Custom_Background();
$Custom_Background->attachment_fields_to_edit( $form_fields );
$form_fields(array) (required)


Since 3.4.0 Introduced.
Deprecated 3.5.0

Code of Custom_Background::attachment_fields_to_edit() WP 5.8.2

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