PostTypes
Less than 1 minute
Definition
class AAM_Framework_Service_PostTypes {
public is_hidden_on(string $post_type, string $website_area) : bool
public is_hidden(string $post_type) : bool
public is_password_protected(string $post_type) : bool
public is_restricted(string $post_type) : bool
public is_redirected(string $post_type) : bool
public is_teaser_message_set(string $post_type) : bool
public is_denied_to(string $post_type, string $permission) : bool
public is_allowed_to(string $post_type, string $permission) : bool
public is_access_expired(string $post_type) : bool
public set_password(string $post_type, string $password) : bool
public set_teaser_message(string $post_type, string $message) : bool
public set_redirect(string $post_type, array $redirect) : bool
public set_expiration(string $post_type, int $timestamp) : bool
public deny(string $post_type, string|array $permission) : bool
public allow(string $post_type, string|array $permission) : bool
public hide(string $post_type, string|array $website_area = null) : bool
public show(string $post_type, string|array $website_area = null) : bool
public get_password(string $post_type) : string|null
public get_teaser_message(string $post_type) : string|null
public get_redirect(string $post_type) : array|null
public get_expiration(string $post_type) : int|null
}