'; foreach ( $the_query as $comment ) { $args['template_args']['comment'] = $comment; uwp_get_template($template, $args); } echo '
'; } else { // no comments found echo aui()->alert(array( // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped 'type'=>'info', 'content'=> esc_html( sprintf(__('No %s found', 'userswp'), strtolower($title)) ) )); } do_action('uwp_profile_pagination', $maximum_pages); ?>