How i can grab mail and user from comment form?
-
How i can grab mail and username from submit in comment form?
–
I’ve try with
–$commenter = wp_get_current_commenter(); esc_attr( $commenter['comment_author'] ) esc_attr( $commenter['comment_author_email'] )
–
but this value grab from cookie instead i need to grab every new data directly from comment form.Thanks in advace for any help,
DarkWolf–
Edit: Another small question…
I’ve this beta plugin with this:include(ABSPATH . "wp-includes/pluggable.php"); if ( !is_user_logged_in() ) { ... }
Jow i can replace with a best code?
- The topic ‘How i can grab mail and user from comment form?’ is closed to new replies.