Skip to content

Instantly share code, notes, and snippets.

@nickstewart95

nickstewart95/Blog.php Secret

Created Dec 15, 2020
Embed
What would you like to do?
$content = $this->convertToPortableText($content);
$content = str_replace('"_sanityAsset":"image@\/wp-content', '"_sanityAsset":"image@https:\/\/viastudio.com\/wp-content', $content);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment