Skip to content

Commit 8b780cc

Browse files
committed
Add action hooks to the profile posts template
1 parent ef10022 commit 8b780cc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

templates/profiles/posts.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
</div>
3535
<?php endif; ?>
3636
<a href="<?php the_permalink();?>" class="wpum-post-title"><?php the_title();?></a>
37+
<?php do_action( 'wpum_profile_posts_after_title' ); ?>
3738
<ul class="wpum-post-meta">
3839
<li>
3940
<strong><?php esc_html_e( 'Posted on:', 'wp-user-manager' ); ?></strong>
@@ -44,6 +45,7 @@
4445
<?php comments_popup_link( esc_html__( 'No Comments', 'wp-user-manager' ), esc_html__( '1 Comment', 'wp-user-manager' ), esc_html__( '% Comments', 'wp-user-manager' ) ); ?>
4546
</li>
4647
</ul>
48+
<?php do_action( 'wpum_profile_posts_after_meta' ); ?>
4749
</div>
4850

4951
<?php endwhile; ?>

0 commit comments

Comments
 (0)