wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



wp_anonymize_comment › Les Filtres WordPress

Depuis4.9.6
Dépréciéen/a
apply_filters( 'wp_anonymize_comment', true, $comment, $anonymized_comment )
Paramètres: (3)
  • (bool|string) $anon_message Whether to apply the comment anonymization (bool) or a custom message (string). Default true.
    Requis: Oui
  • (WP_Comment) $comment WP_Comment object.
    Requis: Oui
  • (array) $anonymized_comment Anonymized comment data.
    Requis: Oui
Défini(e) dans:
Codex:

Filters whether to anonymize the comment.





Source

$anon_message = apply_filters( 'wp_anonymize_comment', true, $comment, $anonymized_comment );