You can modify what URL is used to find share counts, and what URL is shared when a share button is clicked. This is useful when you’re building a website locally or in a staging environment and want to see the actual counts for the production (live) version of a post.
Filter: shared_counts_api_params
Summary: Customize the global API parameters (currently only contains URL)