Clanbite Since 1.6.3
clanbite_notifications_compact_html( string $html ): stringRemove 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) RequiredMarkup built with output buffering.
Returns
string
Defined in inc/extensions/notifications/functions.php
Changelog
| Version | Description |
|---|---|
| 1.6.3 | Introduced. |