clanbite_render_notification( object $notification, bool $compact = false ): stringRender a notification for display.
The 'clanbite_render_notification' filter runs, then markup is passed through wp_kses() with clanbite_notification_allowed_html() before return. Templates may echo the same wp_kses() pair again for late-escaping standards (idempotent).
Parameters
$notification(object) RequiredNotification object.
$compact(bool) OptionalCompact mode (for dropdown). Default false.
Default:
false
Returns
string Safe HTML fragment.
Defined in inc/extensions/notifications/functions.php