WordPress documentation – WP_Query arguments

I believe this is what you’re looking for.

(You’re right to look for it on the class documentation…i think the reason why it’s on query_posts() is because that (and get_posts()) is meant to be the primarily used function to get posts.)

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)