Clanbite Notifications

apply_filters( 'clanbite_render_notification', string $html, object $notification, bool $compact )

Filter the rendered notification HTML.

Filter PHP

Parameters

$html (string)

Rendered HTML.

$notification (object)

Notification object.

$compact (bool)

Compact mode.

Example

add_filter( 'clanbite_render_notification', function ( $html, $notification, $compact ) {
	// Change $html here.
	return $html;
}, 10, 3 );

Defined in inc/extensions/notifications/functions.php