gppt_hide_footer
Description
Filter the visibility of the form footer.
If “Hide Next Button” and “Hide Previous Button” settings are enabled and GF’s Save & Continue feature is disabled, the footer will automatically be hidden.
Usage
Apply to All Forms
add_filter( 'gppt_hide_footer', 'your_function_name', 10, 3 );
Apply to Specific Form (by form ID)
// format: gppt_hide_footer_{formId}
add_filter( 'gppt_hide_footer_7', 'your_function_name', 10, 3 );
Parameters
$hide_footer bool
Set to false to disable hiding the footer. Defaults to true.
$form Form object
The current form object.
Examples
Disable Hiding the Footer
<?php
/**
* Gravity Perks // Page Transitions // Disable Hiding the Form Footer
* https://gravitywiz.com/documentation/gppt_hide_footer/
*/
add_filter( 'gppt_hide_footer', '__return_false', 10, 2 );
Source Code
This filter is located in GP_Page_Transitions::hide_next_prev_buttons() in class-gp-page-transitions.php.
Since
This filter is available since GP Page Transitions 1.0.