芝麻web文件管理V1.00
编辑当前文件:/home4/randall/public_html/sl/wp-content/plugins/advanced-woo-search/includes/class-aws-hooks.php
'. $terms_suggestion . '
'; } $notices['showing_res_for'] = '
' . esc_html__( 'Showing results for', 'advanced-woo-search' ) . ' ' . implode(', ', $new_terms ) . '
'; } } if ( isset( $s_data['fuzzy'] ) && $s_data['fuzzy'] === 'false_text' ) { $terms_suggestions = array(); if ( $empty && ! isset( $s_data['similar_terms'] ) ) { $similar_terms_obj = new AWS_Similar_Terms( $s_data ); $similar_terms_res = $similar_terms_obj->get_similar_terms(); if ( ! empty( $similar_terms_res ) && ! empty( $similar_terms_res['all'] ) ) { $s_data['similar_terms'] = $similar_terms_res; $terms_suggestions = AWS_Helpers::get_fixed_terms_suggestions( $s_data ); } } if ( ! empty( $terms_suggestions ) ) { $new_terms = array(); foreach ( $terms_suggestions as $terms_suggestion ) { if ( $terms_suggestion === $s_data['s'] ) { continue; } $new_terms[] = '
'. $terms_suggestion . '
'; } if ( ! empty( $new_terms ) ) { $notices['suggestions'] = '
' . esc_html__( 'Did you mean:', 'advanced-woo-search' ) . ' ' . implode(', ', $new_terms ) . '
'; } } } return $notices; } } endif;