I have a form on my website that each blogger is required to have, unless they upgrade to supporter and use a theme without the form. I need to know which blog submitted this form, so I use the get_bloginfo function.
I have found that if I use the fuction to return the blog URL, it returns the mapped domain, not the registered name. For example ...
<?php bloginfo('url'); ?>
may return http://somedomain.tld rather than http://blogname.mydomain.tld
Alternatively, I can get the blog admin email by using ...
<?php bloginfo('admin_email'); ?>
which I am not excited about using as it could result in someones email being harvested by a spammer.
So, the question is, is there a function that will return the registered blog name, id number or the blog admin username?