Convert shortcodes to HTML for JSON API
-
I’m trying to write a content filter for the JSON endpoint to convert my shortcodes to HTML markup.
[some_shortcode attribute="whatever" anotherattribute="hello"]
to
<div class="whatever">hello</div>
Has anyone done this successfully?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Convert shortcodes to HTML for JSON API’ is closed to new replies.