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



rest_after_insert_comment › WordPress Action Hooks

Da5.0.0
Deprecaton/a
do_action( 'rest_after_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 completely after a comment is created or updated via the REST API.





Sorgenti

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