gprf_reload_link

  1. Description
  2. Usage
  3. Parameters
  4. Examples
  5. Since

Description

Filter the reload link HTML string.

Usage

add_filter( 'gprf_reload_link', 'my_custom_function' );

Parameters

  • reload_link string

    The reload link HTML string.

  • form array

    The Form settings.

Examples

add_filter( 'gprf_reload_link', function( $reload_link ) {
	$new_classes = 'class1 class2';
	return preg_replace('/class="([^"]*)"/', 'class="$1 '. $new_classes . '"', $reload_link );
} );

Since

This filter is available since Gravity Forms Reload Form 2.1.9.