Title: custom_header_options
Published: April 25, 2014
Last modified: April 28, 2025

---

# do_action( ‘custom_header_options’ )

## In this article

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

[ Back to top](https://developer.wordpress.org/reference/hooks/custom_header_options/?output_format=md#wp--skip-link--target)

Fires just before the submit button in the custom header options form.

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

    ```php
    do_action( 'custom_header_options' );
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-admin/includes/class-custom-image-header.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/6.9.4/src/wp-admin/includes/class-custom-image-header.php#L811)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-admin/includes/class-custom-image-header.php#L811-L811)

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

| Used by | Description | 
| [Custom_Image_Header::step_1()](https://developer.wordpress.org/reference/classes/custom_image_header/step_1/)`wp-admin/includes/class-custom-image-header.php` |

Displays first step of custom header image page.

  |

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

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

## User Contributed Notes

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