Support » Themes and Templates » how to get admin email in external page

Viewing 2 replies - 1 through 2 (of 2 total)
  • I am having the same issue ,while I couldnot integrate wordpress function in to an external .php file.Is any one help us?How to Integrate wordpress 3.0 in to an external .php file?.

    Here comes little help:

    $q = "SELECT user_email FROM {$table_prefix}users WHERE ID=1";
    $admin_email = $wpdb->get_var($q);

    Thanks for asking, as this force me to get registered with wordpress 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘how to get admin email in external page’ is closed to new replies.