$singular_page
$singular_page : bool
If true then we use individual restrict content options for post
Class Access
$singular_page : bool
If true then we use individual restrict content options for post
$redirect_handler : bool
$allow_access : bool
custom_count_posts_handler(object $counts, string $type = 'post', string $perm = '') : object
Change the posts count based on restriction settings
object | $counts | Post counts |
string | $type | Post type |
string | $perm | The permission to determine if the posts are 'readable' by the current user. |
exclude_navigation_posts(string $where, bool $in_same_term = false, string|array $excluded_terms = '', string $taxonomy = 'category', null|\WP_Post $post = null) : string
Exclude posts from next, previous navigation
string | $where | |
bool | $in_same_term | |
string|array | $excluded_terms | |
string | $taxonomy | |
null|\WP_Post | $post |