How to add a function to retrieve data from a social media service

If you want to create your own social button and want to retrieve the number of shares via WordPress you can use the wpbfsb_get_remote_functions filter hook. You can find the filter in the classes/model/remote.php file (see get_remote_functions() function).

How to add a remote function

Crate a new plugin file and use the above mentioned filter hook to add a new function to the list: