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



rest_delete_revision ›

Seit4.7.0
Veraltetn/v
do_action( 'rest_delete_revision', $result, $request )
Parameter: (2)
  • ((mixed)) $result The revision object (if it was deleted or moved to the trash successfully) or false (failure). If the revision was moved to the trash, $result represents its new state; if it was deleted, $result represents its state before deletion.
    Erforderlich: Ja
  • (WP_REST_Request) $request The request sent to the API.
    Erforderlich: Ja
Definiert in:
Codex:

Fires after a revision is deleted via the REST API.





Quellcode

do_action( 'rest_delete_revision', $result, $request );