RG_CURRENT_VIEW

RG_CURRENT_VIEW

DescriptionUsagePlacement

Description
Defines the current view within Gravity Forms. If the view from the querystring is set, that string is returned, otherwise false is returned.
Note: This constant is used in legacy versions of Gravity Forms, meaning before the database schema change in version 2.3. Later versions simply use the code below to get the current view.
1rgget( 'view' )
Usage
1define( 'RG_CURRENT_VIEW', GFForms::get( 'view' ) );
Placement
This constant is set in the file gravityforms.php.

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注