mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
16 lines
674 B
PHP
16 lines
674 B
PHP
<?php if ( ! defined( 'ABSPATH' ) ) exit;
|
|
|
|
$comment_title = apply_filters( 'um_user_profile_comment_title', get_the_title( $comment->comment_post_ID ), $comment );
|
|
$link = apply_filters( 'um_user_profile_comment_url', get_permalink( $comment->comment_post_ID ), $comment ); ?>
|
|
|
|
<div class="um-item">
|
|
<div class="um-item-link">
|
|
<i class="um-icon-chatboxes"></i>
|
|
<a href="<?php echo esc_url( get_comment_link( $comment->comment_ID ) ); ?>">
|
|
<?php echo get_comment_excerpt( $comment->comment_ID ); ?>
|
|
</a>
|
|
</div>
|
|
<div class="um-item-meta">
|
|
<span><?php printf( __( 'On <a href="%1$s">%2$s</a>','ultimate-member' ), $link, $comment_title ); ?></span>
|
|
</div>
|
|
</div>
|