Support » Plugin: Favorites » Updating to version 2

  • Plugin Author Kyle Phillips

    (@kylephillips)



    One change in version 2 that may not be documented well:

    In previous versions of the plugin, lists defaulted to show all post types.

    Lists now default to show only posts. If you need to show other post types in a list, you’ll need to update your code to include those post types.

    So, if you’re using the shortcode, the format is [user_favorites post_types=”post,other-post-type”]

    If you’re using the function, post types are passed in the filters parameter as an array. The plugin website has an example of how to use this parameter.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Updating to version 2’ is closed to new replies.