Title: customizing custom fields
Last modified: August 20, 2016

---

# customizing custom fields

 *  Resolved [BillyAtStudioPretty](https://wordpress.org/support/users/billyatstudiopretty/)
 * (@billyatstudiopretty)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/customizing-custom-fields/)
 * I have a repeater field with an image field inside. I’m also using the Post Thumbnail
   Editor plugin. what I would like to know is if there is a hook that I can use
   to hook a function that returns a link to the thumbnail editor either into the
   acf image editor or into the field (underneath the thumbnail or something?)
 * Thanks in advance 🙂
    Billy
 * [http://wordpress.org/extend/plugins/advanced-custom-fields/](http://wordpress.org/extend/plugins/advanced-custom-fields/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [BillyAtStudioPretty](https://wordpress.org/support/users/billyatstudiopretty/)
 * (@billyatstudiopretty)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/customizing-custom-fields/#post-3513774)
 * I solved this myself by poking around in wp-admin/includes/media.php
 *     ```
       function my_image_attachment_fields_to_edit($form_fields, $post) {
       	$pte = pte_media_row_actions("", $post, "");
       	$pte = $pte['pte'];
       	$form_fields["custom_sizes"] = array(
       			"label" => __("Sizes"),
       			"input" => "html",
       			"html" => $pte
       	);
       	return $form_fields;
       }
   
       add_filter("attachment_fields_to_edit", "my_image_attachment_fields_to_edit", null, 2);
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘customizing custom fields’ is closed to new replies.

 * ![](https://ps.w.org/advanced-custom-fields/assets/icon.svg?rev=3207824)
 * [Advanced Custom Fields (ACF®)](https://wordpress.org/plugins/advanced-custom-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-custom-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-custom-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-custom-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-custom-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-custom-fields/reviews/)

## Tags

 * [custom fields](https://wordpress.org/support/topic-tag/custom-fields/)
 * [hook](https://wordpress.org/support/topic-tag/hook/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 1 reply
 * 1 participant
 * Last reply from: [BillyAtStudioPretty](https://wordpress.org/support/users/billyatstudiopretty/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/customizing-custom-fields/#post-3513774)
 * Status: resolved