bbp_get_topic_post_type()

Return the unique id of the custom post type for topics

Description

Return

(string) The unique topic post type id

Source

File: bp-forums/topics/template.php

	function bbp_get_topic_post_type() {
		return apply_filters( 'bbp_get_topic_post_type', bbpress()->topic_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.