BBP_Shortcodes::display_topic_index_query( array $args = array() )
Filter the query for the topic index
Description
Parameters
- $args
-
(Optional)
Default value: array()
Return
(array)
Source
File: bp-forums/common/shortcodes.php
public function display_topic_index_query( $args = array() ) {
$args['author'] = 0;
$args['show_stickies'] = true;
$args['order'] = 'DESC';
return $args;
}
Changelog
| Version | Description |
|---|---|
| bbPress (r3637) | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.