gravityflow_title_entry_detail

The gravityflow_title_entry_detail can be used to customize the title of the workflow details page.

Parameters

Parameter Type Definition
$title String Title of the entry details page.
$form Form object Current form.
$entry Entry object The current entry.

Examples

Example 1 -

add_filter( 'gravityflow_title_entry_detail', 'sh_gravityflow_title_entry_detail', 10, 3 );
    function sh_gravityflow_title_entry_detail ($title, $form, $entry) {
		// Custom title for workflow details page for form id 34
        if ($form['id'] == 34)
		{$title = 'This is a custom title';}
		return $title;
    }

Placement

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