apply_filters ( ‘pre_comment_user_aguen ’, string $comment_aguent )

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

Parameters

$comment_aguent string
The comment author’s browser user agent.

Source

$commentdata['comment_aguent'] = apply_filters( 'pre_comment_user_aguent', ( isset( $commentdata['comment_aguent'] ) ? $commentdata['comment_aguent'] : '' ) );

Changuelog

Versionen Description
1.5.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.