What you’re looking for are the create_$taxonomy
, edit_$taxonomy
and delete_$taxonomy
hooks. $taxonomy
is, of course, your taxonomy name.
<?php
add_action( 'create_your_tax', 'wpse32510_create', 10, 2 );
funciton wpse32510_create( $term_id, $tt_id )
{
// do stuff
}
There’s also create_term
, edit_term
and delete_term
.
Best place to find hooks: http://adambrown.info/p/wp_hooks/
Related Posts:
- Custom Taxonomy as checkbox or dropdown
- Taxonomy: Why ‘with_front’ => false DOES NOT WORK?
- Custom Taxonomy as Dropdown in admin
- Unregister post type from child theme
- How to set individual capabilities on a taxonomy? Or how to re-register an existing taxonomy?
- List taxonomies with thumbnails
- Dynamically Create Terms in Taxonomy when Custom Post Type is Published. Almost There!
- WordPress Custom Shortcode Conflicting with Media Library
- Query multiple taxonomy in Custom Post Type
- Custom Post Type: How to display all of same taxonomy?
- Remove “-2” from a Toolset Types URL with the same post name
- List all custom post type posts from a given category?
- pre get posts changing the query
- Listing taxonomies from custom post type
- Custom post type with specific category structure
- Custom Post Type and Taxonomy combination
- Exclude specific taxonomy term when using wp_get_post_terms
- Can’t unregister parent theme’s CPT from my child theme
- Get Post Primary Category
- How to check the terms in single custom post type template
- How can I move a custom taxonomy and its data from one post type to another?
- Pagination is not working on single-{slug}.php but works fine on page-{slug}.php
- Change or update WordPress loop based on dropdown selection
- How to: Display ACF [fields] on Custom Post Types Utilising WordPress ‘Hooks’? [closed]
- Custom post type unintentionally called in every page
- Custom Taxonomies not appearing in Admin
- How to display custom taxonomies with links in filter menu?
- How to Filter custom post type by taxonomy?
- Limit amount of posts made within a custom taxonomy
- Issue on Creating Custom Tax Term Dynamically From Another CPT Meta-box On Publish
- list taxonomies from a custom post type
- Show child custom post types list inside single parent custom post type
- Set a CPT slug as a base name for all the taxonomies
- Taxonomies relations
- Full Custom Post Type List Organised by two Taxonomies
- Adding custom taxonomy in same menu place with two custom post types
- Multiple pages for posts?
- Filter Posts from the Main Query
- Filter get_cat_id for Custom Post Type
- Enable taxonomies by post type in an array of CPTs
- Hide specific taxonomies from a taxonomy list using ‘get_object_taxonomies’
- How does the ‘the_post_navigation()’ work for CPT’s?
- Custom post type – list posts based on meta_key and display them divided by CPT taxonomy category
- Custom taxonomy (categories) on custom post type return no results
- Add tags to custom post type without menu link
- Targeting categories in custom fields
- I need to add a filter to prepend the term ‘National – ‘ to the post title if the post is tagged to multiple states
- Rewrite custom post type with taxonomy
- My custom taxonomy is only displaying 1 of 3 terms
- Shortcode to return single custom post based on post taxonomy
- Sort results without WP_QUERY?
- Categories won’t appear on custom post type
- Custom Taxonomy Terms in Menu lead to which page?
- How can I get some of a posts meta data whilst it is still inserting?
- Custom Post Type Taxonomy Term Order by Title
- Using page title as a link to term archive
- How to display posttypes and taxonomy in standard posts, not in a separate label?
- Displaying taxonomies as category links within sidebar and creating pages for these
- Can I use the ‘category’ taxonomy for both posts and a custom post type?
- Get List of Terms based on a given term (different taxonomy)
- Question about link two types of data in wordpress
- Add Tags to a Custom Post Type from a FrontEnd Form
- Get the taxonomy value in the post loop inside the archive page
- Custom post type archive URLs with a single taxonomy
- How to show related posts of category on post within custom posttype
- wp_set_object_terms creates taxonomies but does not add custom posts to it
- How to add CSS class field in Custom Taxonomy?
- WP_Query for custom taxonomies showing posts from non-specified terms?
- Taxonomy doesn’t follow slug permalink structure
- Archive for custom taxonomy
- Listing all custom posts having a specific taxonomy whatever the terms
- Convert attribute woocommerce terms (taxonomy terms) in posts of custom post type
- Display custom tax in “while” loop
- Categories manage
- Taxonomy template file not working with a taxonomy that contains a slash
- I can not call the categories of custom post type
- Showing taxonomies with terms that are attached to custom post
- Filtering custom post using Ajax and taxonomies, keep getting 0
- Custom Taxonomy page redirecting to 404 page
- Displaying WordPress posts from post and custom post type in custom taxonomy
- Custom post type taxonomy template and URL confusion
- Custom Taxonomy is disabled on Edit page
- Override “Parent” input for custom taxonomy
- Taxonomy count per Post type
- Custom Post Type Categories Not Maintaining URL structure any more
- Best way to structure article and issue relationship for CPT
- Custom Post Type used for FAQs Accordion
- How to display elements of different post types?
- How to display only taxonomies of custom post type in a page?
- Check if taxonomy is attached to at least one post in a post-type
- How to make an admin create/edit post page to look like taxonomy page?
- Looping taxonomy in taxonomy?
- Custom Post Type order Title ASC
- Custom posts and custom taxonomies for many products and categories?
- How do i get the taxonomy term name on the CPT archive page?
- Echo post count of CPT with current taxonomy
- How to add to taxonomies to a post type
- Filtering custom post types using category taxonomy
- custom taxonomy not return in the code
- How do I get parameters from the URL?