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



rest_insert_comment › WordPress Action Hooks

Da4.7.0
Deprecaton/a
› do_action( 'rest_insert_comment', $comment, $request, true )
Parametri: (3)
  • () comment Inserted or updated comment object.
    Richiesto: Sì
  • () request Request object.
    Richiesto: Sì
  • () creating True when creating a comment, false when updating.
    Richiesto: Sì
Definito a:
Codex:

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





Sorgenti

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