'in' => _x( 'in', 'in categories fe. in Books > Crime stories', 'ajax-search-for-woocommerce' ), 'read_more' => __( 'continue reading', 'ajax-search-for-woocommerce' ), 'no_results' => $noResults, 'no_results_default' => __( 'No results', 'ajax-search-for-woocommerce' ), 'show_more' => $showMore, 'show_more_details' => $showMore, 'search_placeholder' => DGWT_WCAS()->settings->getOption( 'search_placeholder', __( 'Search for products...', 'ajax-search-for-woocommerce' ) ), 'submit' => DGWT_WCAS()->settings->getOption( 'search_submit_text', '' ), 'search_hist' => __( 'Your search history', 'ajax-search-for-woocommerce' ), 'search_hist_clear' => __( 'Clear', 'ajax-search-for-woocommerce' ), ) ); } /** * Get labels * * @param string $key * * @return string */ public static function getLabel( $key ) { $label = ''; $labels = self::getLabels(); if ( array_key_exists( $key, $labels ) ) { $label = $labels[$key]; } return $label; } /** * Remove all HTML tags including