bbp_get_forum_post_type()

Return the unique id of the custom post type for forums

Description

Return

(string) The unique forum post type id

Source

File: bp-forums/forums/template.php

	function bbp_get_forum_post_type() {
		return apply_filters( 'bbp_get_forum_post_type', bbpress()->forum_post_type );
	}

Changelog

Changelog
Version Description
bbPress (r2857) 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.