WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about pre_user_id

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/comment.php apply_filters 2099 /**
* 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.
*
* @since 1.5.0
*
* @param int $user_id The comment author's user ID.
*/
wp-includes/comment.php apply_filters 2102 /**
* 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.
*
* @since 1.5.0
*
* @param int $user_id The comment author's user ID.
*/

Hook Parameters

Parameter Type Name Description
int $user_id The comment author's user ID.
int $user_id The comment author's user ID.