Developers

Articles

gravityflowstripe_pre_cancel_workflow

The gravityflowstripe_pre_cancel_workflow action fires just before a workflow is marked as cancelled due to a failed Stripe payment.

gravityflow_approval_assignee_status_types

This filter can be used to customize the status handling based on different conditions, such as the assignee, the new status, or the form data.

gravityflow_approval_assignee_status_feedback

The gravityflow_approval_assignee_status_feedback filter allows you to modify the feedback message displayed when an assignee updates their status in a Gravity Flow approval step.

gravityflowformconnector_[type]_target_form_id

The gravityflowformconnector_{type}_target_form_id filter can be used to customize which form certain Form Connector step types will create their entry as.

Changelog

[changelog max="2.9.14"].

Gravity_Flow_Step_Feed_Add_On

Gravity_Flow_Step_Feed_Add_On.

Gravity_Flow_Step

The Gravity_Flow_Step class is a base class that each step type will extend/override such as the Approval, User Input and Notification step types.

Gravity_Flow_Assignee

The Gravity_Flow_Assignee object can be based on either a WP user, role, entry email field or one of the Gravity Flow related field types. For interactive steps, the assignee(s) connect the entry and the step for who should action.

gravityflow_step_assignees

The gravityflow_step_assignees filter allows for the assignees of a step to be filtered.

Developing with Gravity Flow

Gravity Flow was written to make it as easy as possible for developers to interact with installations and extend the base functionality.