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)
  • () data The new, processed comment data, or WP_Error.
    Richiesto: Sì
  • () comment The old, unslashed comment data.
    Richiesto: Sì
  • () commentarr The new, raw comment data.
    Richiesto: Sì
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 );