bbp_reply_attributes_meta_box_discussion_reply_title( $title, $post )
Set the ID if title is blank.
Description
Parameters
- $title
-
(Required)
- $post
-
(Required)
Return
(mixed)
Source
File: bp-forums/common/template.php
1619 1620 1621 1622 1623 1624 1625 1626 | function bbp_reply_attributes_meta_box_discussion_reply_title( $title , $post ) { if ( bbp_get_topic_post_type() === get_post_type( $post ->ID ) || bbp_get_reply_post_type() === get_post_type( $post ->ID ) ) { $title = get_the_date( 'm/d/y' , $post ->ID ). ' - ' . esc_html__( wp_trim_words( wp_strip_all_tags( $post ->post_content ), 8, '...' ), 'buddyboss' ); } return $title ; } |
Changelog
Version | Description |
---|---|
BuddyBoss 1.0.0 | 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.