function register_default_headers( $headers ) {}

Register a selection of default headers to be displayed by the custom header admin UI.


  • array $headers: Array of headers keyed by a string id. The ids point to arrays containing ‘url’, ‘thumbnail_url’, and ‘description’ keys.

Source code

function register_default_headers( $headers ) {

	global $_wp_default_headers;

	$_wp_default_headers = array_merge( (array) $_wp_default_headers, (array) $headers );



No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: