get_custom_logo

过滤钩子
apply_filters( 'get_custom_logo', $html, $blog_id )
参数
  • (string) $html Custom logo HTML output.
    Required:
  • (int) $blog_id ID of the blog to get the custom logo for.
    Required:
定义位置
相关勾子
get_custom_logo_image_attributesbulk_edit_custom_boxwidget_custom_html_contentquick_edit_custom_boxmanage_sites_custom_column
相关方法
get_custom_logothe_custom_logohas_custom_logoget_custom_headerwp_get_custom_cssget_post_custom
引入
4.6.0
弃用
-

get_custom_logo 函数返回自定义标识的HTML。它返回在网站的Customizer中被设置为自定义标志的标志。

过滤自定义标识的输出。

return apply_filters( 'get_custom_logo', $html, $blog_id );

常见问题

FAQs
查看更多 >
闪电侠

(工作日 10:00 - 18:30 为您服务)

2026-01-29 08:09:34

您好,无论是售前、售后、意见建议……均可通过联系工单与我们取得联系。

您也可选择聊天工具与我们即时沟通或点击查看:

您的工单我们已经收到,我们将会尽快跟您联系!
取消
选择聊天工具: