bbp_get_forum_post_type()
Return the unique id of the custom post type for forums
Description Description
Return Return
(string) The unique forum post type id
Source Source
File: includes/forums/template.php
function bbp_get_forum_post_type() {
// Filter & return
return apply_filters( 'bbp_get_forum_post_type', bbpress()->forum_post_type );
}
Changelog Changelog
| Version | Description |
|---|---|
| 2.0.0 | Introduced. |