apply_filters( 'clanbite_notification_next_poll_interval', int $next_poll, array $new_notifications, int $user_id )Filter the next poll interval.
Filter PHP
Parameters
$next_poll(int)Next poll interval in milliseconds.
$new_notifications(array)New notifications found.
$user_id(int)User ID.
Example
add_filter( 'clanbite_notification_next_poll_interval', function ( $next_poll, $new_notifications, $user_id ) {
// Change $next_poll here.
return $next_poll;
}, 10, 3 );Defined in inc/extensions/notifications/class-notification-rest-controller.php