Hooks

Articles

gform_print_entry_header

This action hook can be used to add a custom header to the print entry screen.

gform_print_entry_notes

The gform_print_entry_notes filter allows printing of entry notes to be overridden as the entry markup is being prepared for the print view.

gform_print_scripts

The gform_print_scripts action hook is executed just after the scripts are printed to the page for the form widget or when a form embed is processed in a custom location using GFCommon::gform_do_shortcode().

gform_print_styles

Use this filter to add custom stylesheets to the print entry screen.

gform_process_template_shortcodes_pre_create_post

This filter can be used to prevent shortcodes used in the post custom field or post title field templates from being processed.

gform_product

This filter is executed when displaying the order information grid on the entry detail page and notification emails.

gform_product_field_types

Filters the input types to use when checking if a field is a product field, allowing support for custom product fields.

gform_product_info

Use this filter to manipulate the list of products displayed in the entry detail and sent to third party services via Add-Ons such as PayPal.

gform_product_info_name_include_field_label

This filter is used to control the inclusion of the field label in the product name for radio and select type Product fields.

gform_product_price

Use this filter to change the sub-label for the Product Price input.