WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

get_subdirectory_reserved_names() WP 4.4.0

Retrieves a list of reserved site on a sub-directory Multisite installation.

Хуки из функции

Строку[]. Array of reserved names.



Список изменений

С версии 4.4.0 Введена.

Код get_subdirectory_reserved_names() WP 5.8.1

function get_subdirectory_reserved_names() {
	$names = array(

	 * 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.
	return apply_filters( 'subdirectory_reserved_names', $names );