apply_filters( 'minimum_site_name_length', int $length )
Filters the minimum site name length required when validating a site signup.
Description Description
Parameters Parameters
- $length
-
(int) The minimum site name length. Default 4.
Source Source
Changelog Changelog
| Version | Description |
|---|---|
| 4.8.0 | Introduced. |
User Contributed Notes User Contributed Notes
You must log in before being able to contribute a note or feedback.
function custom_hook( $length ) { return 5; } add_filter( 'minimum_site_name_length', 'custom_hook' );Source: https://generatewp.com/snippet/oDV3qkN/