Replies: 0
I see in this post:
https://wordpress.org/support/topic/ads-in-wordpress-rest-api-response-3/
It says that the plugin inserts ads in the JSON API as long as “the_content” filter is applied. It’s not showing up in our rendered content. I even added a field to JSON (“ad_inserter” under wp_meta in the linked page), which return this:
apply_filters( ‘the_content’, get_the_content() )
Still, the ads do not show up in the JSON API.
I can get them to show up fine in regular rendered pages.
Am I missing something obvious here?