Note: This constant was deprecated in Gravity Forms 3.2.1 and will be removed in Gravity Forms 4.0. Use the WordPress is_admin() function instead.
Description
Indicates if the current page is a WordPress admin page.
Usage
define( 'IS_ADMIN', is_admin() );
Replace any check of the constant with a call to is_admin():
if ( is_admin() ) {
// Runs only on WordPress admin pages.
}
Placement
This constant is set in the file gravityforms.php.