ass_digest_items
isn’t a meta key BuddyPress uses (to my knowledge). Are you sure it doesn’t come from a plugin?
Hello Henrywright,
Thank you for your response.
“ass_digest_items” is used in buddypress-group-email-subscription/bp-activity-subscription-digest.php
as per my knowlodge “ass_digest_items” value should be updated when any comment/post is added.
But i am not able to update the value for “ass_digest_items”
Hi @neerajkumar2020
Ah right. So it’s this plugin you’re using:
https://wordpress.org/plugins/buddypress-group-email-subscription/
It’s very easy to update user meta in WordPress. See:
https://codex.wordpress.org/Function_Reference/update_user_meta
But the plugin uses the BP version of this function AND I see that there are conditions in place which govern when this particular meta value is updated.
Have you tried asking on the plugin’s support forum? That might be the best place to start as you’ll have people there far more familiar with the plugin’s code.
https://wordpress.org/support/plugin/buddypress-group-email-subscription