bbp_get_group_forums_root_id( bool $default )
Return the group forums root parent forum id
Description Description
Parameters Parameters
- $default
-
(Optional) Default value 0
Return Return
(int) The post ID for the root forum
Source Source
File: includes/core/options.php
function bbp_get_group_forums_root_id( $default = 0 ) { // Filter & return return (int) apply_filters( 'bbp_get_group_forums_root_id', (int) get_option( '_bbp_group_forums_root_id', $default ) ); }
Changelog Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |