wpDiscuz 7 API Documentation

  1. Home
  2. Docs
  3. wpDiscuz 7 API Documentation
  4. Filters
  5. wpdiscuz_commentlist_liveupdate_timer
Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

wpdiscuz_commentlist_liveupdate_timer

The filter can be used for changing the value of the frequency of the comment list live update.

Changelog

since 7.6.1 version

Parameters

$timer  Рthe value of the option saved in the database.

Usage

add_filter('wpdiscuz_commentlist_liveupdate_timer', function($timer){
        return 10; // seconds, > 0 any positive number
});

Was this article helpful to you? Yes No