subdirectory_reserved_names

Advertisement

Summery Summery

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

Syntax Syntax

apply_filters( 'subdirectory_reserved_names', string[] $subdirectory_reserved_names )

Parameters Parameters

$subdirectory_reserved_names

Array of reserved names.

Source Source

File: wp-includes/ms-functions.php

Advertisement

Changelog Changelog

Changelog
Version Description
4.4.0 'wp-admin', 'wp-content', 'wp-includes', 'wp-json', and 'embed' were added to the reserved names list.
3.0.0 Introduced.

Advertisement

Leave a Reply