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)
  • (array|WP_Error) $data The new, processed comment data, or WP_Error.
    Wymagane: Tak
  • (array) $comment The old, unslashed comment data.
    Wymagane: Tak
  • (array) $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 );