advantage_social_links

The Advantage advantage social links function.

Description

advantage_social_links(); 

Usage

  1. if ( !function_exists( 'advantage_social_links' ) ) { 
  2. require_once '/inc/lib-functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = advantage_social_links(); 
  7.  

Defined (1)

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

/inc/lib-functions.php  
  1. function advantage_social_links() { 
  2. $social_links = array( 
  3. 'facebook' => array( 
  4. 'name' => 'url_facebook',  
  5. 'label' => __( 'Facebook', 'advantage' ),  
  6. ),  
  7. 'linkedin' => array( 
  8. 'name' => 'url_linkedin',  
  9. 'label' => __( 'Linkedin', 'advantage' ),  
  10. ),  
  11. 'twitter' => array( 
  12. 'name' => 'url_twitter',  
  13. 'label' => __( 'Twitter', 'advantage' ),  
  14. ),  
  15. 'gplus' => array( 
  16. 'name' => 'url_gplus',  
  17. 'label' => __( 'Google+', 'advantage' ),  
  18. ),  
  19. 'youtube' => array( 
  20. 'name' => 'url_youtube',  
  21. 'label' => __( 'YouTube', 'advantage' ),  
  22. ),  
  23. 'vimeo' => array( 
  24. 'name' => 'url_vimeo',  
  25. 'label' => __( 'Vimeo', 'advantage' ),  
  26. ),  
  27. 'flickr' => array( 
  28. 'name' => 'url_flickr',  
  29. 'label' => __( 'Flickr', 'advantage' ),  
  30. ),  
  31. 'instagram' => array( 
  32. 'name' => 'url_instagram',  
  33. 'label' => __( 'Instagram', 'advantage' ),  
  34. ),  
  35. 'pinterest' => array( 
  36. 'name' => 'url_pinterest',  
  37. 'label' => __( 'Pinterest', 'advantage' ),  
  38. ),  
  39. 'aboutme' => array( 
  40. 'name' => 'url_aboutme',  
  41. 'label' => __( 'About Me', 'advantage' ),  
  42. ),  
  43. 'stumbleupon' => array( 
  44. 'name' => 'url_stumbleupon',  
  45. 'label' => __( 'Stumbleupon', 'advantage' ),  
  46. ),  
  47. 'rss' => array( 
  48. 'name' => 'url_rss',  
  49. 'label' => __( 'RSS Feed', 'advantage' ),  
  50. ),  
  51. ); 
  52. return apply_filters( 'advantage_social_links', $social_links );