Clanbite Since 1.6.3

clanbite_notifications_compact_html( string $html ): string

Remove the line breaks between tags in notification markup.

Block themes run shortcode output through wpautop, which turns those line breaks into empty paragraphs (<p></p>) inside flex rows and headers and breaks the layout. Spaces on the same line are kept, so inline text is unchanged.

Parameters

$html (string) Required

Markup built with output buffering.

Returns

string

Defined in inc/extensions/notifications/functions.php

Changelog

VersionDescription
1.6.3Introduced.