apply_filters( 'sanitize_user', string $username, string $raw_username, bool $strict )

Filters a sanitized username string.


Parameters Parameters

$username

(string) Sanitized username.

$raw_username

(string) The username prior to sanitization.

$strict

(bool) Whether to limit the sanitization to specific characters.


Top ↑

Source Source

File: wp-includes/formatting.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
2.0.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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