pre_comment_user_agent

Advertisement

Summery Summery

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

Syntax Syntax

apply_filters( 'pre_comment_user_agent', string $comment_agent )

Parameters Parameters

$comment_agent

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

Source Source

File: wp-includes/comment.php

Advertisement

Changelog Changelog

Changelog
Version Description
1.5.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.