do_action( "{$taxonomy}_pre_edit_form", WP_Term $tag, string $taxonomy )

Fires before the Edit Term form for all taxonomies.


Description

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

Possible hook names include:

  • category_pre_edit_form
  • post_tag_pre_edit_form

Top ↑

Parameters

$tag WP_Term
Current taxonomy term object.
$taxonomy string
Current $taxonomy slug.

Top ↑

Source

File: wp-admin/edit-tag-form.php. View all references

do_action( "{$taxonomy}_pre_edit_form", $tag, $taxonomy ); ?>

Top ↑

Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.