test if userdata exists
-
I created extra custom fields in the User Admin page where users can enter data (eg: Facebook URL).
I can call it successfully in my template, but I would like to test if the new userdata field (eg:Facebook URL) has been filled in/updated so as to only show parts of the template (eg:facebook icon and link to FB page) that are relevant.
I’ve experimented with a few if statements, but as far as I can tell, there is no automatic return of false… is there another way to test this? I have limited knowledge of php.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘test if userdata exists’ is closed to new replies.