Do_action when feed is deleted

When building out a couple plugins at Gravity Hopper, I’ve found myself in need of hooking into an action that’d fire when a form feed is deleted. I think this should be doable by adding the following to the function delete_feed( $id ) {…} in includes/addon/class-gf-feed-addon.php

/**
 * Fires before a feed is deleted.
 *
 * @param $id    The ID of the feed being deleted. 
 */
do_action( 'gform_delete_feed', $id );

I’d appreciate consideration for a future release. Thanks!

1 Like