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



rest_insert_comment › Działania WordPress Hooks

Od4.7.0
Przestarzałyn/a
› do_action( 'rest_insert_comment', $comment, $request, true )
Parametry: (3)
  • () comment Inserted or updated comment object.
    Wymagane: Tak
  • () request Request object.
    Wymagane: Tak
  • () creating True when creating a comment, false when updating.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Fires after a comment is created or updated via the REST API.





Źródło

do_action( 'rest_insert_comment', $comment, $request, true );