WP HidePost and WP REST API
-
Hey,
I use WP Hide Post on my sites and some posts are set as Post Visibility set to “Hide on the front page.“.I was working with the WordPress REST API for posts. and found that those posts do not show up in in the results. They do not appear in the response for a post list commang but can be individually retrieved using the API.
Is this the expected behavior? Is so, is there a workaround where I can keep the posts hidden on the front page, but still have them list in the post list’s API response?
Thanks for the plugin.
https://developer.ww.wp.xz.cn/rest-api/reference/posts/#list-posts
The topic ‘WP HidePost and WP REST API’ is closed to new replies.