wp media fix-orientation <attachment-id>

Fix image orientation for one or more attachments

Arguments

NameDescription
attachment-idOne or more IDs of the attachments to regenerate

Options

NameDescription
--dry-runCheck images needing orientation without performing the operation