Cleanup and re-added get post attachments exclude thumbnail optional