• Hi,

    Im using AMFPHP with as3 to get some user variables from wordpress like $user_login, but I always get a null value.

    this is the php code im using:

    <?php
    class Users{
    public function userData() {
    return $user_login;
    }
    }
    ?>

    I put a include “../wp-blog-header.php”; under AMFPHP globals.php but nothing happens

    what can i do?

    i hope you can help me.

    thanks!o

Viewing 1 replies (of 1 total)
  • Thread Starter greenboy

    (@greenboy)

    Im doing some tests and it′s working with

    get_post(); and get_bloginfo();

    but not with get_currentuserinfo();

Viewing 1 replies (of 1 total)
  • The topic ‘AMFPHP and wordpress global variables’ is closed to new replies.