WordPress at a glance
filter is not described

subdirectory_reserved_names filter-hook . WP 3.0.0

Filters reserved site names on a sub-directory Multisite installation.


add_filter( 'subdirectory_reserved_names', 'filter_function_name_5132' );
function filter_function_name_5132( $subdirectory_reserved_names ){
	// filter...

	return $subdirectory_reserved_names;
Array of reserved names.


  • Since 4.4.0 'wp-admin', 'wp-content', 'wp-includes', 'wp-json', and 'embed' were added
    to the reserved names list.

Where the hook is called

wp-includes/ms-functions.php 2573
return apply_filters( 'subdirectory_reserved_names', $names );

Where the hook is used (in WP core)

Does not used.