bp_nouveau_get_activity_comment_action()
Get the Activity comment action string
Source 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 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 href="%1$s">%2$s</a> replied <a href="%3$s" class="activity-time-since"><time class="time-since" datetime="%4$s" data-bp-timestamp="%5$d">%6$s</time></a>', 'buddypress' ), 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() ) ) ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |