Description
The gravityflowchecklists_form_title filter allows the title of the form in the checklist to be modified.
Usage
add_filter( 'gravityflowchecklists_form_title.', 'your_function_name', 10, 4 );
Parameters
| Parameter | Type | Details |
|---|---|---|
| $title | string | The title of the form |
| $form | integer | The form |
| $entries | array | The entries |
| $exempt | boolean | User exempted from submitting the form |
Examples
Modify the form title displayed in the checklist for a specific form.
add_filter( 'gravityflowchecklists_form_title', 'custom_checklist_form_title', 10, 4 );
function custom_checklist_form_title( $title, $form, $entries, $exempt ) {
//Replace with your desired Form ID and custom title
if ( $form['id'] == '8' ) {
$title = 'Custom Application Form Title';
}
return $title;
}
Placement
This code can be used in the functions.php file of the active theme, a custom functions plugin, a custom add-on, or with a code snippets plugin.
See also the PHP section in this article: Where Do I Put This Code?
Source Code
This filter is located in gravityflowchecklists/includes/class-checklist-personal.php