{$SHORT_SLUG}_feed_actions

{$SHORT_SLUG}_feed_actions

DescriptionUsageParametersPlacementSource Code

Description
The SHORT_SLUG plus 「_feed_actions」 filter in Gravity Forms adds 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
1add_filter( '{$SHORT_SLUG}_feed_actions', 'your_function_name' );
To run the filter for MailChimp, replace {$SHORT_SLUG} as follows.
1add_filter( 'mailchimp_feed_actions', 'your_function_name' );

Parameters

$this->_action_links array
Existing actions links on the feed item.

$item array
The feed item.

$column array
The column ID.

Placement
This code should be placed in the functions.php file of your active theme.
Source Code
This filter is located in class-gf-feed-addon.php.

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注