Purpose and Overview This class allows for the creation of a global $SWP_Post_Caches object. This will be called and instantiated from the main loader class Social_Warfare. It will then be […]
SWP_Post_Cache
Introduction Certain data, like share counts, are cached in the post’s custom fields to eliminate the need to make API requests on every page load. Since custom fields are auto-loaded […]
Using URL Parameters to Troubleshoot the Plugin
Overview In an effort to make it as easy as possible to understand what’s happening when something goes wrong, we’ve built a whole bunch of URL parameters to the plugin […]
social_warfare
Overview social_warfare( [ array $arguments ] ) This function creates and outputs the fully-formatted HTML for a panel of social sharing buttons. By default, it will output the buttons in […]