WordPress at a glance
function is not described

register_default_headers() WP 3.0.0

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

  • Global. Array. $_wp_default_headers

No Hooks.


Nothing (null).


register_default_headers( $headers );
$headers(array) (required)
Array of headers keyed by a string id. The ids point to arrays containing 'url', 'thumbnail_url', and 'description' keys.

Code of register default headers: wp-includes/theme.php WP 5.2.2

function register_default_headers( $headers ) {
	global $_wp_default_headers;

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