• 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 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 );
 

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      Call hooks

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

      Published: 25th November 2019 | Last updated: 21st August 2020

      Primary Sidebar

      Information

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

      inc

      Footer

      WordPress a2z
      WordPress a2z
      WordPress Dynamic API Reference
      WordPress 5.6.2. PHP: 7.3.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-2021. All rights reserved.


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

      • Home
      • Blog
      • Sitemap
      • Sites