This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* This file can be dropped in wp-content/mu-plugins/ to be activated. | |
* It will add post thumbnails to the RSS feed. | |
* The image can then be used in MailChimp templates with the *|RSSITEM:IMAGE|* merge tag. | |
* This implementation is based on useful indications by [vick](https://stackoverflow.com/a/48549541) | |
*/ | |
// add xml namespace for media element |