Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Simplified blog creation – blogname generated from Blog Title


peterverkooijen
Participant

@peterverkooijen

This also does not work…

echo '<input name="blog_title" type="text" id="blog_title" value="'.wp_specialchars($blog_title, 1).'" maxlength="24" /></p>';
$blogname = preg_replace('/[^a-z0-9]/i', '', str_replace(' ', '', strtolower(wp_specialchars($blog_title, 1))));
$_POST['blogname'] = $blogname;

Please, if anyone knows how to do this, put me out of my misery.

Skip to toolbar