Title: Shows &#8216;stealth&#8217; posts when retrieved using WP-API
Last modified: March 11, 2019

---

# Shows ‘stealth’ posts when retrieved using WP-API

 *  [lesteph](https://wordpress.org/support/users/lesteph/)
 * (@lesteph)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/shows-stealth-posts-when-retrieved-using-wp-api/)
 * Whereas stealth-published posts are hidden from feeds and listings, they still
   appear in results returned using the WP API (v2).
 * I’ve worked around this fetching the custom ‘_stealth-publish’ meta field and
   adding to the API result, then checking if this is set when working with the 
   results, but it would be neater if the plugin could handle API alongside the 
   other modes. Thanks Scott!

The topic ‘Shows ‘stealth’ posts when retrieved using WP-API’ is closed to new replies.

 * ![](https://ps.w.org/stealth-publish/assets/icon-128x128.png?rev=1092880)
 * [Stealth Publish](https://wordpress.org/plugins/stealth-publish/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/stealth-publish/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/stealth-publish/)
 * [Active Topics](https://wordpress.org/support/plugin/stealth-publish/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/stealth-publish/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/stealth-publish/reviews/)

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)

 * 0 replies
 * 1 participant
 * Last reply from: [lesteph](https://wordpress.org/support/users/lesteph/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/shows-stealth-posts-when-retrieved-using-wp-api/)
 * Status: not resolved