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