Modify Shared URL by Date to Restore Button Count

A filter to fix broken share counts after moving from HTTP to HTTPS. Add the following to your (child theme) functions.php and modify the value of the four constants (cutoff date, current domain, new/old URL strings).