Function Hook_notification_comment_posted->get_initial_setting
Definitions
sources/hooks/systems/notifications/comment_posted.php
- Find the initial setting that members have for a notification code (only applies to the member_could_potentially_enable members).
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: int
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$notification_code | ID_TEXT | required parameter | N/A | N/A | Notification code |
$category | ?SHORT_TEXT | required parameter | N/A | N/A | The category within the notification code (null: none) |
$member_id | MEMBER | required parameter | N/A | N/A | The member the notification would be for |
Return
- Initial setting
- Type: integer
- Set: N/A
- Range: N/A