bp_nouveau_get_activity_comment_action()
Get the Activity comment action string
Description
Source
File: bp-templates/bp-nouveau/includes/activity/template-tags.php
function bp_nouveau_get_activity_comment_action() { /** * Filter to edit the activity comment action. * * @since BuddyPress 3.0.0 * * @param string $value HTML Output */ return apply_filters( 'bp_nouveau_get_activity_comment_action', /* translators: 1: user profile link, 2: user name, 3: activity permalink, 4: activity recorded date, 5: activity timestamp, 6: activity human time since */ sprintf( __( '<a class="author-name" href="%1$s">%2$s</a> <a href="%3$s" class="activity-time-since"><time class="time-since" datetime="%4$s" data-bp-timestamp="%5$d">%6$s</time></a>', 'buddyboss' ), esc_url( bp_get_activity_comment_user_link() ), esc_html( bp_get_activity_comment_name() ), esc_url( bp_get_activity_comment_permalink() ), esc_attr( bp_get_activity_comment_date_recorded_raw() ), esc_attr( strtotime( bp_get_activity_comment_date_recorded_raw() ) ), esc_attr( bp_get_activity_comment_date_recorded() ) ) ); }
Changelog
Version | Description |
---|---|
BuddyPress 3.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.