Help – getting comment author info
-
This may be more PHP than WordPress.
I know I can get the comment author’s email address using thecomment_author_email();
command. I want to assign the resultant email address to a variable ($email
). When I use the statement:
$email = comment_author_email();
the author’s email address is printed to screen as text.
How do I set the variable with the resulting value of the command?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Help – getting comment author info’ is closed to new replies.