Gravity_Forms\Gravity_Forms\Form_Display\Config\GF_Pagination_Config
Form specific product meta config.
Since: 2.9.0
Source: includes/form-display/config/class-gf-pagination-config.php:12
Details
- Kind:
class - Namespace:
Gravity_Forms\Gravity_Forms\Form_Display\Config - Extends:
GF_Config
Methods
| Method | Description |
|---|---|
data() | Config data. |
enable_ajax() | Enable ajax loading for the "gform_theme_config/common/form/pagination" config path. |
Method Reference
data()
public function data()
Config data.
Returns
array[]
Source: includes/form-display/config/class-gf-pagination-config.php:22
enable_ajax()
public function enable_ajax( $config_path, $args )
Enable ajax loading for the "gform_theme_config/common/form/pagination" config path.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$config_path | string | The full path to the config item when stored in the browser's window object, for example: "gform_theme_config/common/form/product_meta" | |
$args | array | The args used to load the config data. This will be empty for generic config items. For form specific items will be in the format: array( 'form_ids' => array(123,222) ). |
Returns
bool— Return true if the provided $config_path is the product_meta path. Return false otherwise.
Since: 2.9.0
Source: includes/form-display/config/class-gf-pagination-config.php:57