wpseek.com
WordPress开发者和主题制作者的搜索引擎



register_default_headers › WordPress Function

Since3.0.0
已弃用n/a
register_default_headers ( $headers )
参数:
  • (array) $headers Array of headers keyed by a string ID. The IDs point to arrays containing 'url', 'thumbnail_url', and 'description' keys.
    Required: Yes
定义在:
文档:

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



源码

function register_default_headers( $headers ) {
	global $_wp_default_headers;

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