humanmade / hm-content-import

Migration framework for WordPress, attempts to reduce overhead in migrating content from differing data sources
GNU General Public License v3.0
27 stars 7 forks source link

Provide helpers for replacing links in post content #66

Open tcrsavage opened 5 years ago

tcrsavage commented 5 years ago

Most imports involving rich text would benefit from helpers which allow for automatic replacement of urls within body content.

This will likely come in the form of a default WP post iterator which loops through imported articles, looking for links which match the canonical URL of an imported article and replacing it.