Updated 14 September 2026
On this page
Description
This action runs just after the summary lines of the side summary. The plugin itself uses this hook to add the shipping, coupon, tax and EU VAT lines, so use a priority above 10 to print below them. Use it to print your own markup at that spot. See the visual guide for where every action fires.
A form specific variant exists as well: add _FORMID to the hook name, for example
gotrgf_after_summary_lines_3 for form 3.Parameters
$form | Array. The Gravity Forms form object
Usage
Copy the below code to the functions.php of your child theme or to your snippet plugin.
add_action( "gotrgf_after_summary_lines", "my_function", 10, 1 );
function my_function( $form ) {
// $form is the Gravity Forms form array. Echo your own markup here.
echo '<div class="my-note">Form ' . esc_html( $form['id'] ) . '</div>';
}
Since
version 1.1
Didn’t find what you were looking for?
Or contact support and I will help you out.
