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.


Top ↑

Source

File: wp-includes/ms-functions.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.8.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More