c_ws_plugin__s2member_posts_sp
public class c_ws_plugin__s2member_posts_sp
3.5
( 1 Method ) Method Summary | |
---|---|
public static null|array | check_specific_post_level_access(int|str $post_id, bool $check_user) Handles Post Level Access (for specific Posts). |
public static null|array check_specific_post_level_access(int|str $post_id, bool $check_user)
Handles Post Level Access (for specific Posts).
3.5
int|str $post_id - Numeric Post ID.
bool $check_user - Test permissions against the current User? Defaults to true.
null|array - Non-empty array (with details) if access is denied, else null if access is allowed.
s2Member's Post protection routines (for specific Posts).