bbp_get_reply_post_type()

Return the unique id of the custom post type for replies

Description

Return

(string) The unique reply post type id

Source

File: bp-forums/replies/template.php

33
34
35
function bbp_get_reply_post_type() {
    return apply_filters( 'bbp_get_reply_post_type', bbpress()->reply_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.