Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



comment_email ›

Seit4.1.0
Veraltetn/v
apply_filters( 'comment_email', $comment->comment_author_email, $comment )
Parameter: (2)
  • (string) $comment_author_email The comment author's email address.
    Erforderlich: Ja
  • (WP_Comment) $comment The comment object.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the comment author's email for display.

Care should be taken to protect the email address and assure that email harvesters do not capture your commenter's email address.





Quellcode

$email = apply_filters( 'comment_email', $comment->comment_author_email, $comment );