You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When querying the posts in the AJAX callback function, ElasticPress retrieves the post regardless of whether the 'Exclude from search results' option is enabled for that post.
Steps to Reproduce
Create a post titled "Exclude me".
Check the "Exclude from search results" option.
Enable ElasticPress AJAX integration by adding this filter add_filter( 'ep_ajax_wp_query_integration', '__return_true' );
Write an AJAX callback function to search for that post.
Screenshots, screen recording, code snippet
No response
Environment information
No response
WordPress and ElasticPress information
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Describe the bug
When querying the posts in the AJAX callback function, ElasticPress retrieves the post regardless of whether the 'Exclude from search results' option is enabled for that post.
Steps to Reproduce
add_filter( 'ep_ajax_wp_query_integration', '__return_true' );
Screenshots, screen recording, code snippet
No response
Environment information
No response
WordPress and ElasticPress information
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: