WordPress.org

Make WordPress Core

Opened 2 years ago

Last modified 8 months ago

#20735 new feature request

Adding tags to form element of categories.

Reported by: m.ibrahim Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 3.3.2
Component: Taxonomy Keywords: needs-patch
Focuses: Cc:

Description

Just like the post form in posts you can use the hook of "post_edit_form_tag" to add new tags to the form element of creating or editing new post.

but there is no hook for categories form to do that I think adding new element will be helpful feature.

Note: after some debugging I found that the hook can be add in:

#File: your wordpress directory/wp-admin/edit-tag-form.php

#Line: 33

# Find : <form name="edittag" id="edittag" method="post" action="edit-tags.php" class="validate">

# Relpace: <form name="edittag" id="edittag" method="post" action="edit-tags.php" class="validate"<?php do_action('categoery_edit_form_tag'); ?>>

Thanks

Change History (1)

comment:1 wonderboymusic8 months ago

  • Keywords needs-patch added
Note: See TracTickets for help on using tickets.