4545 * require_once( 'lib/skyverge/woocommerce/class-sv-wc-framework-bootstrap.php' );
4646 * }
4747 *
48- * SV_WC_Framework_Bootstrap::instance()->register_plugin( '1 .0', __( 'WooCommerce My Plugin', 'woocommerce-my-plugin' ), __FILE__, 'init_woocommerce_my_plugin' );
48+ * SV_WC_Framework_Bootstrap::instance()->register_plugin( '2 .0', __( 'WooCommerce My Plugin', 'woocommerce-my-plugin' ), __FILE__, 'init_woocommerce_my_plugin' );
4949 *
5050 * ...
5151 *
9595 * `sv_wc_framework_plugins_loaded` action which is fired after all framework
9696 * plugins are loaded.
9797 *
98- * @since 1.0-1
98+ * @since 2.0
9999 */
100100class SV_WC_Framework_Bootstrap {
101101
@@ -113,7 +113,7 @@ class SV_WC_Framework_Bootstrap {
113113 /**
114114 * Hidden constructor
115115 *
116- * @since 1.0-1
116+ * @since 2.0
117117 */
118118 private function __construct () {
119119
@@ -125,7 +125,7 @@ private function __construct() {
125125 /**
126126 * Instantiate the class singleton
127127 *
128- * @since 1.0-1
128+ * @since 2.0
129129 * @return SV_WC_Framework_Bootstrap singleton instance
130130 */
131131 public static function instance () {
@@ -140,7 +140,7 @@ public static function instance() {
140140 /**
141141 * Register a frameworked plugin
142142 *
143- * @since 1.0-1
143+ * @since 2.0
144144 * @param string $version the framework version
145145 * @param string $plugin_name the plugin name
146146 * @param string $path the plugin path
@@ -156,7 +156,7 @@ public function register_plugin( $version, $plugin_name, $path, $callback, $args
156156 * Loads all registered framework plugins, first initializing the plugin
157157 * framework by loading the highest versioned one.
158158 *
159- * @since 1.0-1
159+ * @since 2.0
160160 */
161161 public function load_framework_plugins () {
162162
@@ -213,7 +213,7 @@ public function load_framework_plugins() {
213213 * Render a notice to update any plugins with incompatible framework
214214 * versions
215215 *
216- * @since 1.0-1
216+ * @since 2.0
217217 */
218218 public function render_update_plugin_notice () {
219219
@@ -241,7 +241,7 @@ public function render_update_plugin_notice() {
241241 * Compare the two framework versions. Returns -1 if $a is less than $b, 0 if
242242 * they're equal, and 1 if $a is greater than $b
243243 *
244- * @since 1.0-1
244+ * @since 2.0
245245 * @param array $a first registered plugin to compare
246246 * @param array $b second registered plugin to compare
247247 * @return int -1 if $a is less than $b, 0 if they're equal, and 1 if $a is greater than $b
@@ -255,7 +255,7 @@ public function compare_frameworks( $a, $b ) {
255255 /**
256256 * Returns the plugin path for the given $file
257257 *
258- * @since 1.0-1
258+ * @since 2.0
259259 * @param string $file the file
260260 * @return string plugin path
261261 */
0 commit comments