Lines:
1 to 22 of 22
<?php /** * SVG icons related functions * * @package WordPress * @subpackage Twenty_Nineteen * @since Twenty Nineteen 1.0 */ /* function twentynineteen_get_icon_svg() – Gets the SVG code for a given icon. */ /* function twentynineteen_get_social_icon_svg() – Gets the SVG code for a given social icon. */ /* function twentynineteen_get_social_link_svg() – Detects the social network from a URL and returns the SVG code for its icon. */ /* function twentynineteen_nav_menu_social_icons() – Display SVG icons in social links menu. */ add_filter( 'walker_nav_menu_start_el', 'twentynineteen_nav_menu_social_icons', 10, 4 ); /* function twentynineteen_add_dropdown_icons() – Add a dropdown icon to top-level menu items. */ add_filter( 'walker_nav_menu_start_el', 'twentynineteen_add_dropdown_icons', 10, 4 );