gravityflow_auto_format_instructions
The gravityflow_auto_format_instructions filter allows disabling automatic formatting adding additional line breaks on 'Display Instructions' of a workflow step.
Parameters
Parameter | Type | Definition |
---|---|---|
$enable_formatting | Boolean | The formatting of Display Instructions |
Examples
Example 1 - Disable automatic formatting on Display Instructions
By default, the formatting value is enabled (true). Customization can be done to make it disabled (false)
add_filter( 'gravityflow_auto_format_instructions', 'sh_gravityflow_auto_format_instructions' ); function sh_gravityflow_auto_format_instructions( $enable_formatting ) { return false; }
Placement
This code should be placed in the functions.php file of your active theme or in a custom functions plugin.