WP Query Obj: Set value to be unequal | Hide media by admin

The method is similar, just exclude the author by prefixing the id with a minus sign:

$wp_query_obj->set( 'author', '-1' );

See WP_Query for a full list of query arguments.

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