bbp_is_single_reply

  • apply_filters( 'bbp_is_single_reply', $retval )

    Source Reference:

    • Component: bbPress :: bbp-core
      File: /bbp-includes/bbp-common-template.php :: Trac Source Line: 375
      function bbp_is_single_reply() {
      
      	// Assume false
      	$retval = false;
      
      	// Single and a match
      	if ( is_singular( bbp_get_reply_post_type() ) || ( bbp_is_query_name( 'bbp_single_reply' ) ) )
      		$retval = true;
      
      	return (bool) apply_filters( 'bbp_is_single_reply', $retval );
      }
      
      /**
       * Check if current page is a bbPress user's favorites page (profile page)
       *
       * @since bbPress (r2652)
       *
       * @uses bbp_get_query_name() To get the query name
       * @return bool True if it's the favorites page, false if not
       */
      

Comments are closed.