• First of all thanks for this plugin! I’d like to know if there is a way to programmatically clear favorites for current user. I’m trying to use Favorites as a sort of ecommerce cart where users can select a bunch of posts and then fill a form with a info request about that posts. So the user favorites list should be cleaned up after the email is sent.

    Thanks, Daniele.

Viewing 1 replies (of 1 total)
  • Thread Starter Mad Max

    (@mad_max)

    Ok, it seems that delete “simplefavorites” user meta it’s enough. To reset the “favorites” count for posts, just deleta post_meta “simplefavorites_count” for each post

Viewing 1 replies (of 1 total)
  • The topic ‘Programmatically clear favorites for current user’ is closed to new replies.