Viewing 1 replies (of 1 total)
  • Thread Starter joneiseman

    (@joneiseman)

    Looks like there is a filter I can use to solve this problem: storm_social_icons_networks.
    The filter takes an array as input and I just need to remove the entry in the array with the “mailto:” key and then return the result.

    add_filter( 'storm_social_icons_networks', 'my_social_networks' );
    function my_social_networks($arr)
    {
        unset($arr['mailto:'];
        return $arr;
    }

    If I want to leave the icon but not hide the text, I can instead add the following:

    add_filter ( 'storm_social_icons_hide_text', '__return_false' );

Viewing 1 replies (of 1 total)

The topic ‘envelope icon’ is closed to new replies.