1. 首页
  2. WordPress 函数手册

register_default_headers()

register_default_headers( array $headers )

注册要由自定义头管理用户界面显示的默认头的选择。
Register a selection of default headers to be displayed by the custom header admin UI.

目录锚点:#参数#返回#源码#笔记


参数(Parameters)

参数 类型 必填 说明
$headers (array) 必需 由字符串id键入的标题数组。这些id指向包含“url”、“缩略图url”和“说明”键的数组。

返回(Return)

无返回值


源码(Source)


更新版本 源码位置 使用 被使用
3.0.0 wp-includes/theme.php:1374 0 0

笔记(Notes)

例子

register_default_headers() 为WP2原创文章,链接:https://www.wp2.cn/functions/register_default_headers/