Function __global->set_related_warning_id
Definitions
sources/global4.php
- Sets global $RELATED_WARNING_ID for use in referencing warning IDs to action and moderator logs.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $warning_id | ?integer | No | No | required parameter | N/A | N/A | The ID of the warning (null: do not reference a warning id anymore in future logs) |
Preview
Code (PHP)
/**
* Sets global $RELATED_WARNING_ID for use in referencing warning IDs to action and moderator logs.
*
* @param ?integer $warning_id The ID of the warning (null: do not reference a warning id anymore in future logs)
*/
function set_related_warning_id(?int $warning_id)
* Sets global $RELATED_WARNING_ID for use in referencing warning IDs to action and moderator logs.
*
* @param ?integer $warning_id The ID of the warning (null: do not reference a warning id anymore in future logs)
*/
function set_related_warning_id(?int $warning_id)

