'Paid · Google Ads', 'paid_facebook' => 'Paid · Facebook / Instagram', 'paid_tiktok' => 'Paid · TikTok', 'paid_microsoft' => 'Paid · Microsoft Ads', 'organic_search' => 'Organic search', 'social' => 'Social', 'newsletter' => 'Newsletter / Email', 'web_push' => 'Web push', 'referral' => 'Referral', 'direct' => 'Direct', 'internal' => 'Internal', 'phone_orders' => 'Phone Orders', ); if ( isset( $map[ $channel ] ) ) { return $map[ $channel ]; } return ucwords( str_replace( array( '_', '-' ), ' ', $channel ) ); } public static function render_html( $title, array $rows, $accent = self::ACCENT_SITE ) { $h = '
| ' . esc_html( $title ) . ' | |
| ' . esc_html( $k ) . ' | ' . esc_html( $v ) . ' |