Function __global->has_post_access
Definitions
sources/cns_posts.php
- Find whether a member can access a particular post.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: bool
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$post_id | AUTO_LINK | required parameter | N/A | N/A | Post ID |
$member_id | ?MEMBER | Null | N/A | N/A | Member involved (null: current member) |
$post_details | ?array | Null | N/A | N/A | Post row (null: lookup) |
Return
- Whether they can
- Type: boolean
- Set: N/A
- Range: N/A