twentytwenty_svg_icons_social

過濾鉤子
apply_filters( 'twentytwenty_svg_icons_social', self::$social_icons )
引數
  • (array) $social_icons Array of default social icons.
    Required:
定義位置
  • wp-content/themes/twentytwenty/classes/class-twentytwenty-svg-icons.php , line 104
相關勾子
twenty_twenty_one_svg_icons_socialtwentytwenty_svg_icon_colortwentytwenty_svg_icons_grouptwentytwenty_social_icons_maptwenty_twenty_one_svg_icons_group
引入
Twenty Twenty 1.5
棄用
-

twentytwenty_svg_icons_social:這是一個過濾器鉤子,允許您更改主題社交圖示中使用的 SVG。

過濾Twenty Twenty的社交圖示陣列。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
$social_icons = apply_filters( 'twentytwenty_svg_icons_social', self::$social_icons );
$social_icons = apply_filters( 'twentytwenty_svg_icons_social', self::$social_icons );
$social_icons = apply_filters( 'twentytwenty_svg_icons_social', self::$social_icons );

常見問題

FAQs
檢視更多 >