We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

Best way to get content?

Erin Dalzell November 16, 2014 by Erin Dalzell


  • Content::get($url)
  • ContentService::getContent($url)
  • ContentService::getContentAsContentSet($url)

I want to get the raw content (markdown) NOT the HTML so I can edit it and then re-save it.

Which one is best practice?

Answered by Curtis Blackwell!
>>>>>>> Answered <<<<<<<
2 Replies