gravityflow_step_settings_fields
The gravityflow_step_settings_fields filter allows new settings to be added existing step types or modify existing.
Parameters
Parameter | Type | Definition |
---|---|---|
$settings | Array | The current steps settings fields array. |
$current_step_id | Integer | The current step ID. |
Examples
add_filter( 'gravityflow_step_settings_fields', 'filter_example_notification_fields', 10, 2 ); function filter_example_notification_fields( $settings, $current_step_id ) { //Do Awesome Stuff return $settings; }
Placement
This code should be placed in the functions.php file of your active theme or in a custom functions plugin.
Version
This filter was added in Gravity Flow 2.8.6