plugins – WordPress REST API Visual Composer Shortcodes


I am have a little bit of a hard time with the wordpress REST API outputting shortcode tags rendered from visual composer. The idea is to grab the API data and feed it into anoter website in realtime, but with the other website not being on the wordpress platform, the only way i can see around the problem is to strip the tags in the code on the receiving end.

Ideally i wanted to out put clean text, keep the html content (for the paragraphs to remain) but just strip the dreaded shortcodes generated by visual composer. (please see screenshot below). Obviously i do not want to touch any core files.

rendered content in REST API

Georgios Emmanouilidis 1 month 2022-10-19T02:59:13-05:00 0 Answers 0 views 0

Leave an answer