minimum_site_name_length filter-hookWP 4.8.0

Filters the minimum site name length required when validating a site signup.

Usage

add_filter( 'minimum_site_name_length', 'wp_kama_minimum_site_name_length_filter' );

/**
 * Function for `minimum_site_name_length` filter-hook.
 * 
 * @param int $length The minimum site name length.
 *
 * @return int
 */
function wp_kama_minimum_site_name_length_filter( $length ){

	// filter...
	return $length;
}
$length(int)
The minimum site name length.
Default: 4

Changelog

Since 4.8.0 Introduced.

Where the hook is called

wpmu_validate_blog_signup()
minimum_site_name_length
wp-includes/ms-functions.php 662
$minimum_site_name_length = apply_filters( 'minimum_site_name_length', 4 );

Where the hook is used in WordPress

Usage not found.