Hi,
I need to show an overview of all private posts of the current user. I have the following code:
<div>
{% set user_ID = mb.get_current_user_id() %}
{% set args = { post_type: 'fantask', meta_key: 'training_post_id', meta_value: '300', author: user_ID, numberposts: 10, post_status: 'private', order: 'asc' } %}
{% set posts = mb.get_posts( args ) %}
</div>
I only get the public published posts.
How to get the private posts?