jetpack_social_menu_include_svg_icons

Add SVG definitions to the footer.

Description

jetpack_social_menu_include_svg_icons(); 

Usage

  1. if ( !function_exists( 'jetpack_social_menu_include_svg_icons' ) ) { 
  2. require_once '/modules/theme-tools/social-menu/icon-functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = jetpack_social_menu_include_svg_icons(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/modules/theme-tools/social-menu/icon-functions.php  
  1. function jetpack_social_menu_include_svg_icons() { 
  2. // Define SVG sprite file. 
  3. $svg_icons = dirname( __FILE__ ) . '/social-menu.svg'; 
  4.  
  5. // If it exists, include it. 
  6. if ( file_exists( $svg_icons ) ) { 
  7. require_once( $svg_icons );