| @@ -6,8 +6,9 @@ | ||
| 6 | 6 | use ShopEngine\Core\Builders\Base; |
| 7 | 7 | use ShopEngine\Core\Query_Modifier; |
| 8 | 8 | use ShopEngine\Core\Template_Cpt; |
| 9 | 9 | use ShopEngine\Libs\License\License_Route; |
| 10 | +use ShopEngine\Libs\Rating\Rating; | |
| 10 | 11 | use ShopEngine\Libs\Updater\Init as Updater; |
| 11 | 12 | use ShopEngine\Modules\Manifest as Module_Manifest; |
| 12 | 13 | use ShopEngine\Widgets\Manifest; |
| 13 | 14 | |
| @@ -168,11 +169,18 @@ | ||
| 168 | 169 | add_theme_support('wc-product-gallery-lightbox'); |
| 169 | 170 | add_theme_support('wc-product-gallery-slider'); |
| 170 | 171 | } |
| 171 | 172 | |
| 172 | - | |
| 173 | 173 | #Registering new post-type & etc |
| 174 | 174 | Base::instance()->init(); |
| 175 | + | |
| 176 | + Rating::instance('shopengine') | |
| 177 | + ->set_plugin( 'ShopEngine', 'https://wpmet.com/wordpress.org/rating/shopengine' ) | |
| 178 | + ->set_plugin_logo( 'https://ps.w.org/shopengine/assets/icon-256x256.gif?rev=2505061', 'width:150px !important' ) | |
| 179 | + ->set_priority( 10 ) | |
| 180 | + ->set_first_appear_day( 7 ) | |
| 181 | + ->set_condition( true ) | |
| 182 | + ->call(); | |
| 175 | 183 | |
| 176 | 184 | \ShopEngine\Core\Settings\Base::instance()->init(); |
| 177 | 185 | |
| 178 | 186 | new Libs\Select_Api\Base(); |