@@ -242,6 +242,7 @@ public function get_js_config() {
242242 $ js_config ['enableExactMatchToggle ' ] = (bool ) get_option ( 'searchcraft_enable_exact_match_toggle ' , '1 ' );
243243 $ js_config ['enableDateRange ' ] = (bool ) get_option ( 'searchcraft_enable_date_range ' , '1 ' );
244244 $ js_config ['enableFacets ' ] = (bool ) get_option ( 'searchcraft_enable_facets ' , '1 ' );
245+ $ js_config ['hideUncategorized ' ] = (bool ) get_option ( 'searchcraft_hide_uncategorized ' , false );
245246
246247 // Date slider options.
247248 $ admin_instance = new Searchcraft_Admin ( 'searchcraft ' , SEARCHCRAFT_VERSION );
@@ -347,7 +348,7 @@ public function enqueue_sdk_assets() {
347348
348349 wp_enqueue_script (
349350 $ this ->plugin_name . '-sdk-components ' ,
350- plugin_dir_url ( __FILE__ ) . 'sdk/components/index.js?v=0.12.1 ' ,
351+ plugin_dir_url ( __FILE__ ) . 'sdk/components/index.js?v=0.12.2 ' ,
351352 $ script_deps ,
352353 $ this ->version ,
353354 true
@@ -386,14 +387,14 @@ public function enqueue_sdk_assets() {
386387 // Add CSS for Searchcraft components.
387388 wp_enqueue_style (
388389 $ this ->plugin_name . '-sdk-hologram-styles ' ,
389- plugin_dir_url ( __FILE__ ) . 'sdk/themes/hologram.css?v=0.12.1 ' ,
390+ plugin_dir_url ( __FILE__ ) . 'sdk/themes/hologram.css?v=0.12.2 ' ,
390391 $ style_deps ,
391392 $ this ->version ,
392393 'all '
393394 );
394395 wp_enqueue_style (
395396 $ this ->plugin_name . '-sdk-styles ' ,
396- plugin_dir_url ( __FILE__ ) . 'css/searchcraft-sdk.css?v=0.12.1 ' ,
397+ plugin_dir_url ( __FILE__ ) . 'css/searchcraft-sdk.css?v=0.12.2 ' ,
397398 $ style_deps ,
398399 $ this ->version ,
399400 'all '
0 commit comments