Guest User

Untitled

a guest
Dec 13th, 2016
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. <?php
  2.  
  3. /*
  4. * Add your own functions here. You can also copy some of the theme functions into this file.
  5. * Wordpress will use those functions instead of the original functions then.
  6. */
  7.  
  8. // Register new icon as a theme icon
  9. function avia_add_custom_icon($icons) {
  10. $icons['slack'] = array( 'font' =>'slack', 'icon' => 'uf198');
  11. return $icons;
  12. }
  13. add_filter('avf_default_icons','avia_add_custom_icon', 10, 1);
  14.  
  15. // Add new icon as an option for social icons
  16. function avia_add_custom_social_icon($icons) {
  17. $icons['slack'] = 'slack';
  18. return $icons;
  19. }
  20. add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);
Advertisement
Add Comment
Please, Sign In to add comment