Home Plugins custom code keeper
PHP Code Keeper for Gravity Forms logo

PHP Code Keeper for Gravity Forms

by uamv on WordPress.org

Provides a reliable and consistent way to create, store, edit, and load custom form-related PHP code on your site.

(0)

How does it work?

PHP Code Keeper for Gravity Forms…

  • creates a directory at wp-content/uploads/gravity_hopper/code/.
  • adds a file gf-global-code.php (for housing globally run code).
  • optionally creates/duplicates/deletes a gf-00xx.php file for every form created/duplicated/deleted. (for housing form-specific code)
  • will load all files in the code directory associated with an existing form or having prefix that has been explicitly allowed.
  • allows exporting any number of code files to compressed .zip.
  • introduces pages in the Gravity Forms interface whereby you can manage custom PHP code.

Code Keeper does not restrict when specific files are included on the site. All code from allowed files residing in the gravity_hopper/code/ directory will run for all forms. Always use appropriate hooks and/or conditional checks when targeting specific forms and fields.

Why use it?

PHP Code Keeper provides orderliness to your code customizations, gives you a better sense of the specific code running across your site, and helps ensure your customizations are not lost when other site modifications are made.

Learn more in the walk-through article What is PHP Code Keeper for Gravity Forms?

Need more for your Gravity Forms development?

Saving you time and effort with every form you build, Orbital Forge offers an elite array of builder tools that integrates seamlessly with Gravity Forms.

Active installations10+
Weekly downloads
18+100.00%
Version3.1
Last updated1/23/2025
WordPress version5.6
Tested up to6.7.2
PHP version7.4
Tags
codedevelopergravityphp