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_9801' );
function filter_function_name_9801( $subdirectory_reserved_names ){
	// filter...

	return $subdirectory_reserved_names;
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.

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

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

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

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