wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



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

Da5.0.0
Deprecaton/a
do_action( "rest_after_insert_{$this->taxonomy}", $term, $request, true )
Parametri: (3)
  • (WP_Term) $term Inserted or updated term object.
    Richiesto:
  • (WP_REST_Request) $request Request object.
    Richiesto:
  • (bool) $creating True when creating a term, false when updating.
    Richiesto:
Definito a:
Codex:

Fires after a single term is completely created or updated via the REST API.

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

Possible hook names include:

  • rest_after_insert_category
  • rest_after_insert_post_tag




Sorgenti

do_action( "rest_after_insert_{$this->taxonomy}", $term, $request, true );