wpDiscuz 7 API Documentation

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


This filter can be used for changing the number of items displayed in the tabs of the “My content and settings” window.


since 7.0.0 version


$perPage (type: int) – the number of the items displayed in the “My content and settings” tabs


add_filter("wpdiscuz_content_per_page", function ($perPage) {
    return 5;

Was this article helpful to you? Yes No