prepare( "{$product_id_column} IN ( SELECT ID FROM {$wpdb->posts} WHERE post_author = %d AND post_type = 'product' )", $user_id ); } }