apply_filters( 'pre_comment_user_agent', string $comment_agent )

Filters the comment author’s browser user agent before it is set.


Description


Parameters

$comment_agent

(string) The comment author's browser user agent.


Top ↑

Source

File: wp-includes/comment.php

View on Trac


Top ↑

Changelog

Version Description
1.5.0 Introduced.