%2$s
' . esc_html__( 'Each row is a Google Trends query in a region. A new file adds another date column — existing rows are never overwritten. Language is only a filter, not part of the key.', '4wp-seo-helper' ) . '
'; echo '
' . esc_html__( 'No trends imported yet.', '4wp-seo-helper' ) . '
'; return; } echo '| ' . esc_html__( 'Exclude', '4wp-seo-helper' ) . ' | '; echo '' . esc_html__( 'Query', '4wp-seo-helper' ) . ' | '; echo '' . esc_html__( 'Region', '4wp-seo-helper' ) . ' | '; echo '' . esc_html__( 'Lang', '4wp-seo-helper' ) . ' | '; foreach ( $labels as $label ) { echo '' . esc_html( $label ) . ' | '; } echo 'Δ | '; echo '
|---|---|---|---|---|---|
| '; echo self::exclude_form( (int) $row['id'], true ); echo ' | '; echo '' . esc_html( (string) $row['query_key'] ) . ' | '; echo '' . esc_html( $region_label ) . ' | '; echo '' . esc_html( strtoupper( (string) ( $row['language'] ?? '' ) ) ) . ' | '; foreach ( $labels as $label ) { $val = isset( $by[ $label ] ) ? (string) (float) $by[ $label ]['interest'] : '—'; echo '' . esc_html( $val ) . ' | '; } echo '' . esc_html( $delta_label ) . ' | '; echo '
' . esc_html__( 'Excluded queries stay in the database but leave the main table and inventory Trends column.', '4wp-seo-helper' ) . '
'; if ( empty( $keys ) ) { echo '' . esc_html__( 'Nothing excluded yet.', '4wp-seo-helper' ) . '
'; return; } echo '| ' . esc_html__( 'Query', '4wp-seo-helper' ) . ' | '; echo '' . esc_html__( 'Region', '4wp-seo-helper' ) . ' | '; echo '' . esc_html__( 'Lang', '4wp-seo-helper' ) . ' | '; echo ''; echo ' |
|---|---|---|---|
| ' . esc_html( (string) $row['query_key'] ) . ' | '; echo '' . esc_html( self::format_region( (string) $row['region'] ) ) . ' | '; echo '' . esc_html( strtoupper( (string) ( $row['language'] ?? '' ) ) ) . ' | '; echo '' . self::exclude_form( (int) $row['id'], false ) . ' | '; echo '
| ' . esc_html__( 'File', '4wp-seo-helper' ) . ' | '; echo '' . esc_html__( 'Rows', '4wp-seo-helper' ) . ' | '; echo '' . esc_html__( 'Date', '4wp-seo-helper' ) . ' | '; echo ''; echo ' |
|---|---|---|---|
| ' . esc_html( (string) $batch['filename'] ) . ' | '; echo '' . esc_html( (string) (int) $batch['rows_count'] ) . ' | '; echo '' . esc_html( (string) $batch['created_at'] ) . ' | '; echo ''; echo ''; echo ' | '; echo '