Reference › Hooks do_action( "{$taxonomy}_pre_edit_form" , WP_Term $tag , string $taxonomy )
Since 3.0.0 Description Parameters Fired at Source History 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: <ul> <li>category_pre_edit_form</li> <li>post_tag_pre_edit_form</li> </ul>
Parameters
$tagWP_Term Current taxonomy term object.
$taxonomystring Current $taxonomy slug. Fired at · 1 wp-admin/edit-tag-form.php:69file scope Source View on Trac ↗ View on GitHub ↗
63 * 64 * @since 3.0.0 65 * 66 * @param WP_Term $tag Current taxonomy term object. 67 * @param string $taxonomy Current $taxonomy slug. 68 */ 69 do_action( "{$taxonomy}_pre_edit_form", $tag, $taxonomy ); ?> 70 71 < div class = " wrap" > 72 < h1> <?php echo $tax -> labels -> edit_item ; ?> </ h1> 73 74 <?php 75 $class = ( isset ( $_REQUEST [ 'error' ] ) ) ? 'error' : 'success' ; History Introduced in 3.0.0 . Unchanged from 6.7.7 through 7.1.0.
6.7.7 6.8.8 6.9.7 7.0.4 7.1.0 Signature, return type and hooks compared across 5 parsed releases.
About this page Parsed data Generated from the wordpress-develop 6.9.7 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it. Corrections Something wrong on this page? Report it and it gets fixed in the next regeneration.