Un motore di ricerca WordPress per sviluppatori e autori di temi



rest_delete_revision ›

Da4.7.0
Deprecaton/a
do_action( 'rest_delete_revision', $result, $request )
Parametri: (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.
    Richiesto:
  • (WP_REST_Request) $request The request sent to the API.
    Richiesto:
Definito a:
Codex:

Fires after a revision is deleted via the REST API.





Sorgenti

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