Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



rest_delete_revision ›

Od4.7.0
Przestarzałyn/a
do_action( 'rest_delete_revision', $result, $request )
Parametry: (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.
    Wymagane: Tak
  • (WP_REST_Request) $request The request sent to the API.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Fires after a revision is deleted via the REST API.





Źródło

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