Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Gravity Flow Code Snippet Library

Gravity Flow is a commercial plugin for WordPress which provides a Workflow platform for forms created in Gravity Forms.

This is a collection of code snippets that help modify the default behavior. Some require customization so please check the code comments.

Bug reports and pull requests are welcome.

Using Snippets

Most files in this library are set up to be WordPress plugins:

  1. Click on the filename of the snippet you'd like to use. Each file is set up to be a WordPress plugin.
  2. Click the "Raw" button (next to "Blame" and "History") at the top right.
  3. Save the page from your browser to your wp-content/plugins folder and upload to your server. Be sure to save it as a .php file and add it to a folder with the same name as the file (minus the .php). Alternatively you can compress the file as a .zip file and upload as a plugin from within WordPress.
  4. Activate the plugin from the WordPress plugins page.

For files that aren't set up as plugins follow steps 1 and 2 above and then copy and paste the code into your child theme's functions.php or place inside a custom functionality plugin.

If you need help customising any of the snippets or do not understand how to use them, please get in touch and we'll recommend a developer.

Submitting Your Snippet

We welcome and encourage everyone to submit their code snippets. If you would like to submit your snippet, please fork the repository and then create a pull request.

Please refer to the Contributing guidelines before submitting your pull request.

Proposing a Snippet

If there is a snippet you are unable to find and would like to propose get written, please open an issue and describe your need.


This is not a tutorial archive. Please see the documentation of the Gravity Flow website if you're looking for developer documentation.

These snippets come with no guarantees. Due to the constant evolution of the Gravity Flow codebase, it is possible that the behavior of these snippets may change overtime. Find something broken? Let us know!

Copyright 2017 Steven Henty


Gravity Flow Code Snippet Library






No releases published


No packages published