Lines:
1 to 23 of 23
<?php /** * SVG icons related functions and filters * * @package WordPress * @subpackage Twenty_Seventeen * @since Twenty Seventeen 1.0 */ /* function twentyseventeen_include_svg_icons() – Add SVG definitions to the footer. */ add_action( 'wp_footer', 'twentyseventeen_include_svg_icons', 9999 ); /* function twentyseventeen_get_svg() – Return SVG markup. */ /* function twentyseventeen_nav_menu_social_icons() – Display SVG icons in social links menu. */ add_filter( 'walker_nav_menu_start_el', 'twentyseventeen_nav_menu_social_icons', 10, 4 ); /* function twentyseventeen_dropdown_icon_to_menu_link() – Add dropdown icon if menu item has children. */ add_filter( 'nav_menu_item_title', 'twentyseventeen_dropdown_icon_to_menu_link', 10, 4 ); /* function twentyseventeen_social_links_icons() – Returns an array of supported social links (URL and icon name). */