Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic increase by type #111

Closed
egbamddeveloper opened this issue Feb 4, 2021 · 2 comments
Closed

Dynamic increase by type #111

egbamddeveloper opened this issue Feb 4, 2021 · 2 comments

Comments

@egbamddeveloper
Copy link

Hello,

It's a perfect app, thanks very much.

I want to increase data dynamic by code or api, how?
I see that can i get data by api, but how can i increase it?

Thanks very much
Ahmad

@billerickson
Copy link
Collaborator

There are a few ways you could update it.

The simplest would be directly updating the post_meta values on the specific posts you'd like changed. Look for the shared_counts and shared_counts_total meta keys.

You can also use the shared_counts_query_api hook to add your own code for retrieving or determining the share count when the counts are updated.

@egbamddeveloper
Copy link
Author

egbamddeveloper commented Feb 5, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants