Function __global->privacy_limits_for
Definitions
sources/content_privacy.php
- Find list of members who may view some content.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$content_type | ID_TEXT | required parameter | N/A | N/A | The content type |
$content_id | ID_TEXT | required parameter | N/A | N/A | The content ID |
$strict_all | boolean | False | N/A | N/A | Whether to get a full list including friends even when there are over a thousand friends |
Return
- A list of member IDs that have access (null: no restrictions)
- Type: ?array
- Set: N/A
- Range: N/A