Filtering links using the WordPress ‘the_permalink’ filter

Landon | Jun 06, 2017

This morning I improved this theme by adding a filter to WordPress’s ‘the_permalink’ filter. The idea was to scan post content, pull out the first link in a post and then use that link as the permalink, so to speak. By doing this, I make it so that I can simply point my readers to […]