apply_filters( ‘subdirectory_reserved_names’, string[] $subdirectory_reserved_names )

In this article

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

Parameters

$subdirectory_reserved_namesstring[]
Array of reserved names.

Source

return apply_filters( 'subdirectory_reserved_names', $names );

Changelog

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

User Contributed Notes

You must log in before being able to contribute a note or feedback.