This filter is used to dynamically change the icon being displayed with the message sent to Slack. The icon image size should be 48×48.
Glance - Your metrics, in one place.
The current icon being used for the Slack message.
$feedFeed Object
The current feed object.
$entryEntry Object
The current entry object.
$formForm Object
The current form object.
This example changes the icon URL if the form ID is 4.
This code should be placed in the functions.php file of your active theme.
This filter was added in Slack 1.4.
This filter is located in class-gf-slack.php.