W3cubDocs

/WordPress

apply_filters( 'pre_user_nicename', string $user_nicename )

Filters a user’s nicename before the user is created or updated.

Parameters

$user_nicename

(string) The user's nicename.

Source

File: wp-includes/user.php

View on Trac

Changelog

Version Description
2.0.3 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_user_nicename