Hide or Remove attachments from messages

Good day

Is there a setting or code snippet to hide/remove attachments from messages.

Hi,

You can disable this feature in HivePress > Settings > Messages.

Thank you. I overlooked that setting. Apologies.