WordPress Hooks Explorer

Listing all hooks extracted WordPress Core

Details about subdirectory_reserved_names

Back to home


Filename Hook Type Line Number PHP Doc
wp-includes/ms-functions.php apply_filters 2702 /**
* Filters reserved site names on a sub-directory Multisite installation.
* @since 3.0.0
* @since 4.4.0 'wp-admin', 'wp-content', 'wp-includes', 'wp-json', and 'embed' were added
* to the reserved names list.
* @param string[] $subdirectory_reserved_names Array of reserved names.

Hook Parameters

Parameter Type Name Description
string[] $subdirectory_reserved_names Array of reserved names.