wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_update_comment_data › WordPress Filter Hooks

Da5.5.0
Deprecaton/a
apply_filters( 'wp_update_comment_data', $data, $comment, $commentarr )
Parametri: (3)
  • (array|WP_Error) $data The new, processed comment data, or WP_Error.
    Richiesto:
  • (array) $comment The old, unslashed comment data.
    Richiesto:
  • (array) $commentarr The new, raw comment data.
    Richiesto:
Definito a:
Codex:

Filters the comment data immediately before it is updated in the database.

Note: data being passed to the filter is already unslashed.





Sorgenti

$data = apply_filters( 'wp_update_comment_data', $data, $comment, $commentarr );