Title: admin_head_{$content_func}
Published: April 25, 2014
Last modified: August 20, 2026

---

# do_action( “admin_head_{$content_func}” )

## In this article

 * [Description](https://developer.wordpress.org/reference/hooks/admin_head_content_func/?output_format=md#description)
 * [Source](https://developer.wordpress.org/reference/hooks/admin_head_content_func/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/hooks/admin_head_content_func/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/hooks/admin_head_content_func/?output_format=md#changelog)

Fires in the admin header for each specific form tab in the legacy (pre-3.5.0) media
upload popup.

## 󠀁[Description](https://developer.wordpress.org/reference/hooks/admin_head_content_func/?output_format=md#description)󠁿

The dynamic portion of the hook name, `$content_func`, refers to the form callback
for the media upload type.

## 󠀁[Source](https://developer.wordpress.org/reference/hooks/admin_head_content_func/?output_format=md#source)󠁿

    ```php
    do_action( "admin_head_{$content_func}" );
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-admin/includes/media.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.1/src/wp-admin/includes/media.php#L621)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-admin/includes/media.php#L621-L621)

## 󠀁[Related](https://developer.wordpress.org/reference/hooks/admin_head_content_func/?output_format=md#related)󠁿

| Used by | Description | 
| [wp_iframe()](https://developer.wordpress.org/reference/functions/wp_iframe/)`wp-admin/includes/media.php` |

Outputs the iframe to display the media upload page.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/hooks/admin_head_content_func/?output_format=md#changelog)󠁿

| Version | Description | 
| [2.5.0](https://developer.wordpress.org/reference/since/2.5.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fhooks%2Fadmin_head_content_func%2F)
before being able to contribute a note or feedback.