' . esc_html__( 'Insights settings saved.', 'ai-search' ) . '
'; } if ( isset( $_POST['ai_search_clear_logs'] ) ) { check_admin_referer( 'ai_search_clear_logs' ); $wpdb->query( "TRUNCATE TABLE {$ai_log_table}" ); // phpcs:ignore WordPress.DB.DirectDatabaseQuery echo '' . esc_html__( 'Search log cleared.', 'ai-search' ) . '
' . esc_html__( 'The search log is being set up. Reload this page in a moment.', 'ai-search' ) . '
' . esc_html( number_format_i18n( $total_logged ) ) . '' ); ?>
| query ); ?> | hits ) ); ?> | avg_results ) ); ?> | last_seen ), current_time( 'timestamp' ) ) ) ); ?> |
| query ); ?> | hits ) ); ?> | last_seen ), current_time( 'timestamp' ) ) ) ); ?> |
| query ); ?> | top_ids ) as $pid ) { if ( isset( $titles[ $pid ] ) ) { $shown[] = '' . esc_html( $titles[ $pid ] ) . ''; } else { $shown[] = '' . esc_html__( '(removed)', 'ai-search' ) . ''; } } echo $shown ? wp_kses_post( implode( ', ', $shown ) ) : '—'; ?> | tier_exact ) { /* translators: %d: number of exact matches */ $parts[] = sprintf( esc_html__( '%d exact', 'ai-search' ), (int) $row->tier_exact ); } if ( $row->tier_lexical ) { /* translators: %d: number of keyword matches */ $parts[] = sprintf( esc_html__( '%d keyword', 'ai-search' ), (int) $row->tier_lexical ); } if ( $row->tier_ai ) { /* translators: %d: number of AI matches */ $parts[] = sprintf( esc_html__( '%d AI', 'ai-search' ), (int) $row->tier_ai ); } echo esc_html( implode( ' · ', $parts ) ); ?> | created_at ), current_time( 'timestamp' ) ) ) ); ?> |
' . esc_html( get_option( 'admin_email' ) ) . '' ); ?>