menu

Using the Filters Parameter

To filter favorite lists or counts by post type and/or terms, the filters parameter is provided. The filters parameter accepts an array, which may contain an array of post types, and an array of terms/taxonomies. In the below example, only posts with the post type of “post” and “recipe”, with terms of news & updates (categories) and side items & desserts (recipe types) will be returned.


Users who have favorited this recipe: 0 other users

Favorites for WordPress is created and maintained by Kyle Phillips.

Crafted with pride in WordPress. ©2025