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)
  • () term The deleted term.
    Erforderlich: Ja
  • () response The response data.
    Erforderlich: Ja
  • () 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 );