Description
The gravityflowflowchart_title_print_flowchart The filter allows developers to modify the title of the print flowchart page.
Note: The Translating Gravity Flow documentation provides more information about translating Gravity Flow, including step names, labels, and messages.
Usage
add_filter( 'gravityflowflowchart_title_print_flowchart', 'your_function_name', 10, 1);
Parameters
| Parameter | Type | Details |
|---|---|---|
| $title | String | The title of the print flowchart page. Default: ‘Flowchart’ |
Examples
Modify the title displayed on the print flowchart page.
add_filter( 'gravityflowflowchart_title_print_flowchart', 'custom_print_flowchart_title', 10, 1 );
function custom_print_flowchart_title( $title ) {
// Replace with your desired title
$title = 'Workflow Process Flowchart';
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 gravityflowflowchart/includes/class-print-flowchart.php