apply_filters( 'clanbite_notification_transport_config', array $config, int $user_id )Filter the notification transport configuration.
Use this to provide WebSocket configuration when available.
Filter PHP
Parameters
$config(array)Transport configuration.
$user_id(int)Current user ID.
Example
add_filter( 'clanbite_notification_transport_config', function ( $config, $user_id ) {
// Change $config here.
return $config;
}, 10, 2 );Defined in inc/extensions/notifications/class-notification-rest-controller.php