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


Top ↑

Return Return

(int) The post ID for the root forum


Top ↑

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 ) );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.