-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 Fixed shortcodes being converted to HTML when sent to the API
This was caused due to the `the_content` hook going through the content and preparing it for outputting on the website, so ensuring everything is in HTML and not shortcodes appear. So what we do now is stop the shortcodes looking like shortcodes and then revert it back after. https://developer.wordpress.org/reference/hooks/the_content/
- Loading branch information
Showing
1 changed file
with
45 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters