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.

Usage

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

	return $subdirectory_reserved_names;
}
$subdirectory_reserved_names(string[])
Array of reserved names.

Список изменений

С версии 3.0.0 Введена.
С версии 4.4.0 'wp-admin', 'wp-content', 'wp-includes', 'wp-json', and 'embed' were added to the reserved names list.

Где вызывается хук

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

Где используется хук в ядре WordPress

Использование не найдено.