Filters whether to allow GET parameters to pre-populate form element values.
Description
See also
Parameters
- $allow_get_params
-
(bool) (Required) Whether to allow GET parameters.
- $element_id
-
(int) (Required) Element ID.
- $form_id
-
(int) (Required) Form ID.
Return
(bool) True or false depending on the form setting.
Source
File: src/modules/form-settings/module.php
protected function filter_allow_get_params( $allow_get_params, $element_id, $form_id ) { return (bool) $this->get_form_option( $form_id, 'allow_get_params' ); }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |