bookmark_bordergform_print_entry_content

Description

Triggered when entries are being displayed.

Usage

add_action( 'gform_print_entry_content', 'my_function', 10, 3 );

Parameters

  • $form array
    The form object.

  • $entry array
    The entry object.

  • $entry_ids array
    The IDs of the entries being displayed.

Examples

Example 1

function my_function() {
    //Do something here
}
add_action( 'gform_print_entry_content', 'my_function', 10, 3 );

Example 2

// remove default GF entry content function
remove_action( 'gform_print_entry_content', 'gform_default_entry_content', 10 );

// bind our custom entry content function
add_action( 'gform_print_entry_content', 'my_print_entry_content', 10, 3 );

function my_print_entry_content( $form, $entry, $entry_ids ) {
  GFEntryDetail::lead_detail_grid( $form, $entry );
}

Source Code

This action hook is located in print-entry.php