twenty_twenty_one_social_icons_map

过滤钩子
apply_filters( 'twenty_twenty_one_social_icons_map', self::$social_icons_map )
参数
  • (array) $social_icons_map Array of default social icons.
    Required:
定义位置
  • wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-svg-icons.php , line 214
相关勾子
twentytwenty_social_icons_maptwenty_twenty_one_svg_icons_socialtwenty_twenty_one_svg_icons_grouptwenty_twenty_one_starter_contenttwentyseventeen_social_links_icons
相关方法
render_block_core_social_link
引入
Twenty Twenty-One 1.0
弃用
-

twenty_twenty_one_social_icons_map:此函数返回可在主题中使用的社交图标数组。

过滤Twenty Twenty-Ones的社交图标的域名映射数组。

默认情况下,每个图标ID都与一个.com TLD相匹配。为了覆盖该行为,指定它覆盖的所有域(如果适用,还包括.com TLD)。

$map = apply_filters( 'twenty_twenty_one_social_icons_map', self::$social_icons_map );

常见问题

FAQs
查看更多 >
闪电侠

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

2025-12-06 12:33:18

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

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

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