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?
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘using wordpress function getblog_info() in external php file’ is closed to new replies.