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.

發表回覆

您的電子郵箱地址不會被公開。 必填項已用 * 標註