WordPress.org

Ready to get started?Download WordPress

Forums

how to get admin email in external page (3 posts)

  1. iteamweb
    Member
    Posted 4 years ago #

    how to get admin email in external page
    if i include wp-config.php that is not working.

  2. avahaf
    Member
    Posted 4 years ago #

    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?.

  3. justnajm
    Member
    Posted 3 years ago #

    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 :)

Topic Closed

This topic has been closed to new replies.

About this Topic