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

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


Parameters Parameters

$subdirectory_reserved_names

(string[]) Array of reserved names.


Top ↑

Source Source

File: wp-includes/ms-functions.php

View on Trac



Top ↑

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.

Top ↑

User Contributed Notes User Contributed Notes

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