The Hreflang Manager plugin provides you an easy and reliable method to implement hreflang in WordPress.
Add a custom HREFLANG meta box on your post to manually edit the link between your post and a translation (which could be outside your domain).
Auto print in header the link alternate hreflang of all the language in the website.