Developers

Articles

The Workflow Step Framework

The Gravity Flow Workflow Step Framework allows developers to add new step types quickly and with minimum effort. The Gravity_Flow_Step abstract class is used as the base class to create new step types.

gravityflow_back_link_url_entry_detail

The gravityflow_back_link_url_entry_detail is used to customize the URL of the back link from the entry detail page.

gravityflow_role_field

The Role Field, by default, will display all users. If you need to filter the items you can use the following filter.

gravityflow_step_column_status_page

The gravityflow_step_column_status_page filter allows the value of the step column to be modified on the status page.

gravityflow_print_styles

Use this filter to add custom stylesheets to the print entry screen. Return an array of script handles.

gravityflow_webhook_url_in_note

Use the filter gravityflow_webhook_url_in_note to hide/unhide the URL appearing in notes when using the Outgoing Webhook step.

gravityflow_inbox_args

The gravityflow_inbox_args filter allows the inbox page arguments to be overridden.

gravityflow_feedback_message_user_input

Use this filter to change the text of the feedback message on the user input step.

gravityflow_step_highlight_color_inbox

The gravityflow_step_highlight_color_inbox filter allows the step highlight color (hex value) of gravity flow inbox entries to be modified.

gravityflow_workflow_detail_sidebar

The gravityflow_workflow_detail_sidebar action is used to present custom panels in the sidebar between the workflow info and admin panels (assuming the current user has role/permissions to see the admin panel.