gravityflow_entry_url_status_table

Added in Gravity Flow 2.7

The gravityflow_entry_url_status_table filter allows the entry url to be filtered in the status table.

Parameters

Parameter Type Definition
$entry_url String
The url to be linked to
$form_id Integer The Form ID
$entry_id Integer
The Entry ID
$entry Array
The current entry array.

Examples

Example 1 - Make a status view summary display only on a certain page

add_action( 'gravityflow_entry_url_status_table', 'jo_status_entry_url_blank', 10, 4 );
function jo_status_entry_url_blank( $entry_url, $form_id, $entry_id, $entry ) {
    //Adjust to ensure it only matches on page(s) with the shortcode you desire.
     if ( ! get_the_ID() == '285' ) {
        return $entry_url;
    } else {
        return '#';
    }  
}

Placement

This code should be placed in the functions.php file of your active theme or in a custom functions plugin.