Skip to main content
Version: v6

get_form_data()

Description

This API method will return the $form_data array for a particular entry.

Version

This method was introduced in Gravity PDF 4.4.

Parameters

entry_id | integer | required

  • The Gravity Forms entry ID

Return

array | WP_Error

  • Returns the full $form_data array on success, or WP_Error on failure

Usage

/* Get the form data for the Entry #260 */
$entry = GPDFAPI::get_form_data( 260 );

if ( ! is_wp_error( $entry ) ) {
/* We can use the $entry array here */
}

Source Code

This method is located in api.php.