diff --git a/templates/profile/posts.php b/templates/profile/posts.php index deef44be..c9bbe9cb 100644 --- a/templates/profile/posts.php +++ b/templates/profile/posts.php @@ -1,4 +1,6 @@ -shortcodes->loop = $ultimatemember->query->make('post_type=post&posts_per_page=10&offset=0&author=' . um_user('ID') ); ?> +query->make('post_type=post&posts_per_page=10&offset=0&author=' . um_user('ID') ); ?> + +shortcodes->loop = apply_filters('um_profile_query_make_posts', $query_posts ); ?> shortcodes->loop->have_posts()) { ?>