Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
force relative urls in content
add_filter('the_content', 'my_content_filter');
function my_content_filter($content){
$content = str_ireplace('','',$content);
return $content;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.