sharethis-follow-buttons
Last commit date
assets
8 years ago
css
2 years ago
js
2 years ago
php
8 months ago
templates
2 years ago
.wp-env.json
2 years ago
CONTRIBUTING.md
4 years ago
README.md
4 years ago
instance.php
8 years ago
readme.txt
8 months ago
sharethis-follow-buttons.php
8 months ago
instance.php
26 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Instantiates the Sharethis Follow Buttons plugin |
| 4 | * |
| 5 | * @package SharethisFollowButtons |
| 6 | */ |
| 7 | |
| 8 | namespace SharethisFollowButtons; |
| 9 | |
| 10 | global $sharethis_follow_buttons_plugin; |
| 11 | |
| 12 | require_once __DIR__ . '/php/class-plugin-base.php'; |
| 13 | require_once __DIR__ . '/php/class-plugin.php'; |
| 14 | |
| 15 | $sharethis_follow_buttons_plugin = new Plugin(); |
| 16 | |
| 17 | /** |
| 18 | * Sharethis Follow Buttons Plugin Instance |
| 19 | * |
| 20 | * @return Plugin |
| 21 | */ |
| 22 | function get_plugin_instance() { |
| 23 | global $sharethis_follow_buttons_plugin; |
| 24 | return $sharethis_follow_buttons_plugin; |
| 25 | } |
| 26 |