bbp_is_single_reply()
Viewing a single reply
Description Description
Return Return
(bool)
Source Source
File: includes/common/template.php
function bbp_is_single_reply() { // Assume false $retval = false; // Edit is not a single reply if ( bbp_is_reply_edit() ) { return false; } // Single and a match if ( is_singular( bbp_get_reply_post_type() ) || ( bbp_is_query_name( 'bbp_single_reply' ) ) ) { $retval = true; } // Filter & return return (bool) apply_filters( 'bbp_is_single_reply', $retval ); }
Changelog Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |