Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Simplified blog creation – blogname generated from Blog Title


peterverkooijen
Participant

@peterverkooijen

Latest attempt didn’t work… :-(

Should I do something with $_POST['blogname']?

Any ideas very much appreciated!

BTW, improved cleanup:

$blogname = preg_replace('/[^a-z0-9]/i', '', str_replace(' ', '', strtolower(wp_specialchars($blog_title, 1))));

Skip to toolbar