wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



rest_insert_comment › WordPress Action Hooks

Seit4.7.0
Veraltetn/v
do_action( 'rest_insert_comment', $comment, $request, true )
Parameter: (3)
  • () comment Inserted or updated comment object.
    Erforderlich: Ja
  • () request Request object.
    Erforderlich: Ja
  • () creating True when creating a comment, false when updating.
    Erforderlich: Ja
Definiert in:
Codex:

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





Quellcode

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