wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



wp_update_comment_data › Filtr WordPress Hooks

Od5.5.0
Przestarzałyn/a
› apply_filters( 'wp_update_comment_data', $data, $comment, $commentarr )
Parametry: (3)
  • () data The new, processed comment data, or WP_Error.
    Wymagane: Tak
  • () comment The old, unslashed comment data.
    Wymagane: Tak
  • () commentarr The new, raw comment data.
    Wymagane: Tak
Zdefiniowane na:
Codex:

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

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




Źródło

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