| @@ -1,0 +1,19 @@ | ||
| 1 | +<?php | |
| 2 | +/** | |
| 3 | + * Milestone Widget Loader. | |
| 4 | + * | |
| 5 | + * @package automattic/jetpack | |
| 6 | + */ | |
| 7 | + | |
| 8 | +/** | |
| 9 | + * The widget class. | |
| 10 | + */ | |
| 11 | +require_once __DIR__ . '/class-milestone-widget.php'; | |
| 12 | + | |
| 13 | +/** | |
| 14 | + * Registers the widget for use! | |
| 15 | + */ | |
| 16 | +function jetpack_register_widget_milestone() { | |
| 17 | + register_widget( 'Milestone_Widget' ); | |
| 18 | +} | |
| 19 | +add_action( 'widgets_init', 'jetpack_register_widget_milestone' ); | |