0 ) { echo ''; if ( $taxonomy === 'knowledge_base' ) { /* translators: %s: Number of categories. */ echo esc_html( sprintf( // phpcs:ignore WordPress.WP.I18n.MissingTranslatorsComment, WordPress.WP.I18n.MismatchedPlaceholders _n( '%1$s Category', '%1$s Categories', $sub_terms_count, 'betterdocs' ), number_format_i18n( $sub_terms_count ) ) ); } else { // Layout-only format string — not wrapped in _n() because it contains // nothing but positional placeholders, and translator typos in the // placeholder numbers crash sprintf() on PHP 8.x with ArgumentCountError. echo esc_html( sprintf( '%1$s %2$s', esc_html( $sub_terms_count ), esc_html( $sub_terms_count === 1 ? $subcategory_singular_text : $subcategory_plural_text ) ) ); } echo ' |'; } ?>