Used By
| Used By | Description |
|---|---|
| wp-includes/comment.php: wp_filter_comment() | Filters and sanitizes comment data. |
Filters the comment author’s user ID before it is set.
The first time this filter is evaluated, ‘user_ID’ is checked (for back-compat), followed by the standard ‘user_id’ value.
(int) The comment author's user ID.
File: wp-includes/comment.php
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_user_id