Function __global->get_ticket_forum_id
Definitions
sources/tickets.php
- Get the forum ID for a given ticket type and member, taking the ticket_type_forums option into account.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: int
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$ticket_type_id | ?integer | Null | N/A | N/A | The ticket type (null: all ticket types) |
$create | boolean | False | N/A | N/A | Create the forum if it's missing |
$silent_error_handling | boolean | False | N/A | N/A | Whether to skip showing errors, returning null instead |
Return
- Forum ID (null: not found)
- Type: ?AUTO_LINK
- Set: N/A
- Range: N/A