• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
WordPress a2z

WordPress a2z

WordPress Dynamic API Reference

  • Home
  • Plugins
  • Themes
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / Files / inc/icon-functions.php


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). */
 

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      File name: inc/icon-functions.php
      Plugin ref: Twenty Seventeen
      Version: 3.1
      Deprecated?: No
      API Letters: F,I,P

      Published: 8th April 2020 | Last updated: 26th January 2022

      Primary Sidebar

      Information

      File name: inc/icon-functions.php
      Plugin ref: Twenty Seventeen
      Version: 3.1
      Deprecated?: No
      API Letters: F,I,P

      inc

      Footer

      WordPress a2z
      WordPress a2z
      WordPress Dynamic API Reference
      WordPress 6.1.1. PHP: 8.0.27
      WordPress a2z
      WordPress core a2z
      Genesis Theme Framework a2z
      Jetpack a2z
      WordPress develop tests
      Easy Digital Downloads a2z
      WooCommerce a2z
      Yoast SEO a2z
      WordPress Blocks

      Site:  wp-a2z.org
      © Copyright WordPress a2z 2014-2023. All rights reserved.


      Website designed and developed by Herb Miller
      Proudly powered by WordPress and oik plugins

      • Home
      • Blog
      • Sitemap
      • Sites