$count ) { $lines[] = ' - ' . $url . ' (' . number_format_i18n( $count ) . ')'; } } $lines[] = ''; $lines[] = str_repeat( '-', 48 ); $lines[] = sprintf( /* translators: %s: settings URL */ __( 'Manage: %s', 'adg-markdown-for-ai-crawlers' ), admin_url( 'options-general.php?page=' . ADG_AIM_Admin_Settings::PAGE_SLUG ) ); $text = implode( "\n", $lines ) . "\n"; // Plain-text email: normalize the non-breaking spaces / HTML entities that // number_format_i18n() emits in some locales. $text = str_replace( array( "\xc2\xa0", ' ' ), ' ', $text ); $text = html_entity_decode( $text, ENT_QUOTES, 'UTF-8' ); return $text; } }