Un motore di ricerca WordPress per sviluppatori e autori di temi



rest_delete_{$this->taxonomy} ›

Da4.7.0
Deprecaton/a
do_action( "rest_delete_{$this->taxonomy}", $term, $response, $request )
Parametri: (3)
  • (WP_Term) $term The deleted term.
    Richiesto:
  • (WP_REST_Response) $response The response data.
    Richiesto:
  • (WP_REST_Request) $request The request sent to the API.
    Richiesto:
Definito a:
Codex:

Fires after a single term is deleted via the REST API.

The dynamic portion of the hook name, $this->taxonomy, refers to the taxonomy slug.





Sorgenti

do_action( "rest_delete_{$this->taxonomy}", $term, $response, $request );