minimum_site_name_length WordPress Filter Hook
The minimum_site_name_length Wordpress hook is used to set the minimum length for a site name. This can be useful for ensuring that a site name is long enough to be easily remembered, or for preventing extremely long site names from being created.
apply_filters( 'minimum_site_name_length', int $length ) #
Filters the minimum site name length required when validating a site signup.
Parameters
- $length
(int)The minimum site name length. Default 4.
Source
Changelog
Version | Description |
---|---|
4.8.0 | Introduced. |