bp_forums_parent_forum_id()

Return the parent forum ID for the Legacy Forums abstraction layer.


Description Description


Return Return

(int) Forum ID.


Top ↑

Source Source

File: bp-core/bp-core-functions.php

function bp_forums_parent_forum_id() {

	/**
	 * Filters the parent forum ID for the bbPress abstraction layer.
	 *
	 * @since 1.5.0
	 *
	 * @param int BP_FORUMS_PARENT_FORUM_ID The Parent forum ID constant.
	 */
	return apply_filters( 'bp_forums_parent_forum_id', BP_FORUMS_PARENT_FORUM_ID );
}

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Supported for compatibility with bbPress 2.
1.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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