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)
  • (WP_Comment) $comment Inserted or updated comment object.
    Richiesto:
  • (WP_REST_Request) $request Request object.
    Richiesto:
  • (bool) $creating True when creating a comment, false when updating.
    Richiesto:
Definito a:
Codex:

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





Sorgenti

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