Function __global->rename_config_option
Definitions
sources/config2.php
- Rename a config option.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $old | ID_TEXT | No | No | required parameter | N/A | N/A | The old name |
| $new | ID_TEXT | No | No | required parameter | N/A | N/A | The new name |
Preview
Code (PHP)
/**
* Rename a config option.
*
* @param ID_TEXT $old The old name
* @param ID_TEXT $new The new name
*/
function rename_config_option(string $old, string $new)
* Rename a config option.
*
* @param ID_TEXT $old The old name
* @param ID_TEXT $new The new name
*/
function rename_config_option(string $old, string $new)

