How to exclude one parent id from post_parent' => 'any', in WordPress / bbPress?

The code below works well however I would like to exclude one parent id from he output. What I'm trying to accomplish is to have [ post_parent' = 'any'] to everything except parent id=5150. Is this possible?

if ( bbp_has_topics( 
   array( 
     'author' = 0, 
     'show_stickies' = false, 
     'order' = 'DESC', 
     'post_parent' = 'any', 
     'posts_per_page' = 5
   ) 
) ) {

      bbp_get_template_part( 'bbpress/loop', 'topics' );
     }`

Thank you

Topic bbpress Wordpress

Category Web

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.