initial commit
This commit is contained in:
@@ -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