comment_author ) ); } function highlight( $post, $words, $content ) { if ( isset( $post->comment_id ) ) { $comment = get_comment( $post->comment_id ); $highlight = new Highlighter( $this->gather( $comment ), $words, true ); if ( $highlight->has_matches() ) { $highlight->mark_words(); return '

'.__( 'Comment author', 'search-unleashed' ).': '.$highlight->get().'

'; } } return ''; } function field_name() { return 'comment_author'; } function name () { return __( 'Comment author', 'search-unleashed' ); } }