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



rest_delete_{$this->taxonomy} › WordPress Action Hooks

Seit4.7.0
Veraltetn/v
do_action( "rest_delete_{$this->taxonomy}", $term, $response, $request )
Parameter: (3)
  • (WP_Term) $term The deleted term.
    Erforderlich: Ja
  • (WP_REST_Response) $response The response data.
    Erforderlich: Ja
  • (WP_REST_Request) $request The request sent to the API.
    Erforderlich: Ja
Definiert in:
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.

Possible hook names include:

  • rest_delete_category
  • rest_delete_post_tag




Quellcode

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