wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



register_default_headers › WordPress Function

Depuis3.0.0
Dépréciéen/a
register_default_headers ( $headers )
Paramètres:
  • (array) $headers Array of headers keyed by a string ID. The IDs point to arrays containing 'url', 'thumbnail_url', and 'description' keys.
    Requis: Oui
Défini(e) dans:
Codex:

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



Source

function register_default_headers( $headers ) {
	global $_wp_default_headers;

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