get_custom_logo_image_attributes

过滤钩子


apply_filters( 'get_custom_logo_image_attributes', $custom_logo_attr, $custom_logo_id, $blog_id )
参数
  • (array)
    $custom_logo_attr
    Custom logo image attributes.
    Required:
  • (int)
    $custom_logo_id
    Custom logo attachment ID.
    Required:
  • (int)
    $blog_id
    ID of the blog to get the custom logo for.
    Required:
定义位置
  • wp-includes/general-template.php
    , line 1087
引入
5.5.0
弃用

过滤自定义Logo图像属性的列表。

$custom_logo_attr = apply_filters( 'get_custom_logo_image_attributes', $custom_logo_attr, $custom_logo_id, $blog_id );