[Resolved] using wordpress function getblog_info() in external php file
I am writing a plugin which is a contact form. The action of the form is to call send.php which parses the information and sends an email. In this file I want to use the code
<?php $fromsite = get_bloginfo('name'); ?>
but i’m getting a function not recognised error on get_bloginfo. What do I need to do to get this php script to be able to use wordpress’ functions?
- The topic ‘[Resolved] using wordpress function getblog_info() in external php file’ is closed to new replies.