Description
Filter which element will be replaced with the original form markup.
Usage
gform.addFilter( 'gprf_replacing_elem', 'my_custom_function' );
Parameters
replacingElem \jQuery
The element to be replaced with the original form markup.
formId int
The ID of the current form.
gprf \GPReloadForm
The current instance of GPReloadForm.
Since
This filter is available since Gravity Forms Reload Form 2.0.1.
Examples
Replace a custom element with the form markup.
gform.addFilter( 'gprf_replacing_elem', function( $replacingElem, self.formId, self ) {
return jQuery( '#my-custom-element' );
} );