apply_filters( 'pre_user_id', int $user_ID )

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


Description Description

The first time this filter is evaluated, ‘user_ID’ is checked (for back-compat), followed by the standard ‘user_id’ value.


Parameters Parameters

$user_ID

(int) The comment author's user ID.


Top ↑

Source Source

File: wp-includes/comment.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
1.5.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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