WordPress Rest filter for custom taxonomy gets applied to the admin area
I’m using gutenberg… could that be the reason? Yes, Gutenberg (or the Block Editor) uses the WordPress REST API when working with the taxonomy terms (and other things like custom post types). So the filter rest_collection_query (or rest_{taxonomy}_query) will be applied no matter who/what made the REST API request, or where it was being made … Read more