@johann @mica
Thank you i searched a lot finally found how to do it!
Is there a chance to additionally modify the function to only return the posts which are publish? So a combination of only posts of current author id and only published posts of that author?
thanks