Function __global->_build_keep_post_fields
Definitions
sources/urls2.php
- Relay all POST parameters for this URL, to the URL embedded in the form.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: object
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $exclude | array | No | No | [] | N/A | N/A | A list of parameters to exclude |
| $force_everything | boolean | No | No | False | N/A | N/A | Force field labels and descriptions to copy through even when there are huge numbers of parameters |
Returns
- The built-up hidden form fields
- Type: Tempcode
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Relay all POST parameters for this URL, to the URL embedded in the form.
*
* @param array $exclude A list of parameters to exclude
* @param boolean $force_everything Force field labels and descriptions to copy through even when there are huge numbers of parameters
* @return Tempcode The built-up hidden form fields
*/
function _build_keep_post_fields(array $exclude = [], bool $force_everything = false) : object
* Relay all POST parameters for this URL, to the URL embedded in the form.
*
* @param array $exclude A list of parameters to exclude
* @param boolean $force_everything Force field labels and descriptions to copy through even when there are huge numbers of parameters
* @return Tempcode The built-up hidden form fields
*/
function _build_keep_post_fields(array $exclude = [], bool $force_everything = false) : object

