Support » Plugin: WP Social Networks Widget » Add custom icons using a simple hook

  • Hello, and thank you for your awesome plugin. 🙂
    I need to one hook for hooking my custom icons to wp-social-networks-widget plugin, for example hooking fontawesome icons :

    function my_fonticons(  $icons ){
    
          // fontawesome icons
          $icons['facebook'] = array(
                        'icon' => 'fa fa-facebook',
                        'label' => '',
                        'url' => ''
           );
    
           $icons['github'] = array(
                        'icon' => 'fa fa-github',
                        'label' => '',
                        'url' => ''
           );
    
           $icons['bitbucket'] = array(
                        'icon' => 'fa fa-bitbucket',
                        'label' => '',
                        'url' => ''
           );
    
          return $icons;
    }
    add_filter("wp_social_netwoks_widget_icons", "my_fonticons");

    Please you see this pull requests for more details.
    https://github.com/mladjom/wp-social-networks-widget/pulls

    .

    https://wordpress.org/plugins/wp-social-networks-widget/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add custom icons using a simple hook’ is closed to new replies.