Constants
Articles
RG_CURRENT_VIEW
The RG_CURRENT_VIEW constant in Gravity Forms defines the current view and is used in legacy versions of Gravity Forms before the database schema change in version 2.3.
RG_CURRENT_PAGE
The current page.
IS_ADMIN
Indicates if the current page is a WordPress admin page.
GFORM_DISABLE_AUTO_UPDATE
This Gravity Forms constant provides on/off control of automatic updates. It will disable them if set with a boolean value of ‘True’.
GFORM_DB_MIGRATION_BATCH_SIZE
Allows the batch size to be changed when upgrading the database from a version older than 2.3.
GFORM_AUTO_DB_MIGRATION_DISABLED
Prevents entries from being migrated in the background when the database schema has changed.
GF_THEME_IMPORT_FILE
Allows you to specify a Form JSON file from which a set of default forms can be pre-generated when a theme containing this option is activated.
GF_SUPPORTED_WP_VERSION
Indicates if the minimum supported version of WordPress has been met.
GF_RECAPTCHA_PRIVATE_KEY
Automatically populates the reCAPTCHA Private Key on activation.
GF_MIN_WP_VERSION_SUPPORT_TERMS
Specifies the minimum version of WordPress that will be officially supported by Gravity Forms.