Renders a list of posts that user got access.
Attributes:
- type – Types of posts to list. Accepts:
all
or a comma-separated list of post types to render. Default:all
- current_user – Show only posts unlocked by the current logged in user. Default:
no
- user_id – Show only posts unlocked by a specific user.
- orderby – Parameter to use for sorting. Accepts:
id
,title
,menu_order
,date
,modified
,rand
Default:id
- order – Sort order. Accepts:
asc
,desc
Default:asc
- exclude – Comma-separated list of specific posts IDs to exclude.
Example: [gamipress_posts_unlocked type="all" current_user="yes" user_id="1" orderby="id" order="asc" exclude="1,2,3"]