Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Count how many times a member shares content on social media

@henrywright

Moderator

It wouldn’t be BuddyPress documentation you’d need, rather, WordPress documentation. Take a look at the articles on user meta, specifically look at the get_user_meta() and update_user_meta() functions.

The general idea would be to increment a user’s share count each time something is shared by that user.

Refs:

https://codex.wordpress.org/Function_Reference/update_user_meta
https://codex.wordpress.org/Function_Reference/get_user_meta

Skip to toolbar