apply_filters( 'pre_comment_user_agent', string $comment_agent ) Filters the comment author’s browser user agent before it is set. ContentsParameters Source Related Used By Changelog User Contributed Notes Parameters $comment_agent (string) The comment author's browser user agent. Top ↑Source File: wp-includes/comment.php View on Trac Top ↑Related Top ↑Used By Used By Used By Description wp-includes/comment.php: wp_filter_comment() Filters and sanitizes comment data. Top ↑Changelog Changelog Version Description 1.5.0 Introduced. Top ↑User Contributed Notes You must log in before being able to contribute a note or feedback.