{$SHORT_SLUG}_feed_actions

Description

The {$short_slug}_feed_actions filter allows developers to add action links to feed items. {$short_slug} is replaced with the add-on short slug.

The article Gravity Forms Add-On Slugs lists the slugs and short slugs for the available add-ons.

Usage

add_filter( '{$short_slug}_feed_actions', 'your_function_name' );

To run the filter for MailChimp, replace {$short_slug} as follows.

add_filter( 'mailchimp_feed_actions', 'your_function_name' );

Parameters

ParameterTypeDescription
$this->_action_linksarrayExisting actions links on the feed item.
$itemarrayThe feed item.
$columnarrayThe column ID.

Placement

This code can be used in the functions.php file of the active theme, a custom functions plugin, a custom add-on, or with a code snippets plugin.

See also the PHP section in this article: Where Do I Put This Code?

Source Code

This filter is located in class-gf-feed-addon.php.