' . $output_str . '', $output_str ); // WPCS: XSS OK. } } if ( $echo ) { echo $output; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped } else { return $output; } } } /** * Template for comments and pingbacks. */ if ( ! function_exists( 'astra_theme_comment' ) ) { /** * Template for comments and pingbacks. * * To override this walker in a child theme without modifying the comments template * simply create your own astra_theme_comment(), and that function will be used instead. * * Used as a callback by wp_list_comments() for displaying the comments. * * @param string $comment Comment. * @param array $args Comment arguments. * @param number $depth Depth. * @return mixed Comment markup. */ function astra_theme_comment( $comment, $args, $depth ) { switch ( $comment->comment_type ) { case 'pingback': case 'trackback': // Display trackbacks differently than normal comments. ?>
', '' ); ?>