wpexplorer

Social Icons Add Contact

Oct 27th, 2012
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. function add_social_icons($social_icons){
  2.  
  3. //new icons
  4. $extra_social_icons = array(
  5. 'contact'
  6. );
  7.  
  8. //combine icons
  9. $social_icons = array_merge($extra_social_icons, $social_icons);
  10.  
  11. //return new array with added icons
  12. return $social_icons;
  13.  
  14. }
  15. add_filter('wpex_get_social', 'add_social_icons');
Advertisement
Add Comment
Please, Sign In to add comment