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



rest_delete_comment › WordPress Action Hooks

Seit4.7.0
Veraltetn/v
do_action( 'rest_delete_comment', $comment, $response, $request )
Parameter: (3)
  • (WP_Comment) $comment The deleted comment data.
    Erforderlich: Ja
  • (WP_REST_Response) $response The response returned from the API.
    Erforderlich: Ja
  • (WP_REST_Request) $request The request sent to the API.
    Erforderlich: Ja
Definiert in:
Codex:

Fires after a comment is deleted via the REST API.





Quellcode

do_action( 'rest_delete_comment', $comment, $response, $request );