apply_filters( 'clanbite_notification_types', array<string, array{label: string, icon: string}> $types )Filter registered notification types.
Third-party developers can add their own types here.
Filter PHP
Parameters
$types(array<string, array{label: string, icon: string}>)Notification types.
Example
add_filter( 'clanbite_notification_types', function ( $types ) {
// Change $types here.
return $types;
}, 10, 1 );Defined in inc/extensions/notifications/functions.php