Merged in feature/MAW-846-sharethis (pull request #52)
Feature/MAW-846 sharethis * MAW-846: ShareThis social button plugin * MAW-846: ShareThis social buttons update * Merged develop into feature/MAW-846-sharethis
This commit is contained in:
29
wp/wp-content/plugins/sharethis-share-buttons/instance.php
Normal file
29
wp/wp-content/plugins/sharethis-share-buttons/instance.php
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
/**
|
||||
* Instantiates the ShareThis Share Buttons plugin
|
||||
*
|
||||
* @package ShareThisShareButtons
|
||||
*/
|
||||
|
||||
namespace ShareThisShareButtons;
|
||||
|
||||
global $sharethis_share_buttons_plugin;
|
||||
|
||||
require_once __DIR__ . '/php/class-plugin-base.php';
|
||||
require_once __DIR__ . '/php/class-plugin.php';
|
||||
require_once __DIR__ . '/php/class-button-widget.php';
|
||||
require_once __DIR__ . '/php/class-minute-control.php';
|
||||
require_once __DIR__ . '/php/class-share-buttons.php';
|
||||
|
||||
$sharethis_share_buttons_plugin = new Plugin();
|
||||
|
||||
/**
|
||||
* ShareThis Share Buttons Plugin Instance
|
||||
*
|
||||
* @return Plugin
|
||||
*/
|
||||
function get_plugin_instance() {
|
||||
global $sharethis_share_buttons_plugin;
|
||||
|
||||
return $sharethis_share_buttons_plugin;
|
||||
}
|
||||
Reference in New Issue
Block a user