Warning: This function has been deprecated.

bp_core_add_illegal_names()

Add illegal blog names to WP so that root components will not conflict with blog names on a subdirectory installation.


Description Description

For example, it would stop someone creating a blog with the slug "groups".


Source Source

File: bp-core/deprecated/6.0.php

function bp_core_add_illegal_names() {
	update_site_option( 'illegal_names', get_site_option( 'illegal_names' ), array() );
}

Top ↑

Changelog Changelog

Changelog
Version Description
6.0.0 This function has been deprecated.
1.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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