Viewing 1 replies (of 1 total)
  • I had the same need. I found that registering the shortcode with Shortcode UI renders the shortcode into the content. So, the REST API returns the shortcode markup.

    An added benefit is that the Shortcode UI (Shortcake) improves the user experience greatly.

    https://wordpress.org/plugins/shortcode-ui/

    It’s a feature plugin, so it may end up in WP core.

Viewing 1 replies (of 1 total)
  • The topic ‘Convert shortcodes to HTML for JSON API’ is closed to new replies.