Uma área de pesquisa sobre o WordPress para devs e autores do tema



register_default_headers ›

Desde3.0.0
Obsoleton/a
register_default_headers ( $headers )
Parâmetros:
  • (array) $headers Array of headers keyed by a string id. The ids point to arrays containing 'url', 'thumbnail_url', and 'description' keys.
    Required: Yes
Definido em:
Codex:

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



Fonte

function register_default_headers( $headers ) {
	global $_wp_default_headers;

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