-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
ApplyRules
Description
Applies rules (filters) to PMs
Syntax
void ApplyRules ([bool $all_messages])
Parameter $all_messages
Expected type: Boolean
Description: Whether or not to apply the rules to all messages. If true, applies rules to all messages, even if they've been read. Otherwise applies rules only to unread messages. Defaults to false.
Notes
- Only applies rules to unread messages unless all_messages is true
- Rules are loaded into $context['rules'] by LoadRules
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.014 seconds with 13 queries.
- Forum Search