Welcome Guest, Not a member yet? Register   Sign In
Community-Auth variables?
#4

actually I want the $auth_username in the view.

I tried like this below,
Code:
<?php
                    if(is_logged_in()) {
                        echo $auth_username;
                    }
                ?>

but I got error.

the proper way to acces the variables in view?

thanks in advance.
No SEO spam
Reply


Messages In This Thread
Community-Auth variables? - by solidcodes - 03-04-2016, 07:54 PM
RE: Community-Auth variables? - by skunkbad - 03-04-2016, 08:40 PM
RE: Community-Auth variables? - by solidcodes - 03-04-2016, 10:19 PM
RE: Community-Auth variables? - by solidcodes - 03-04-2016, 11:48 PM
RE: Community-Auth variables? - by skunkbad - 03-05-2016, 03:43 PM
RE: Community-Auth variables? - by solidcodes - 03-05-2016, 08:06 PM
RE: Community-Auth variables? - by skunkbad - 03-05-2016, 08:16 PM
RE: Community-Auth variables? - by solidcodes - 03-05-2016, 08:08 PM
RE: Community-Auth variables? - by solidcodes - 03-05-2016, 08:21 PM



Theme © iAndrew 2016 - Forum software by © MyBB