Home / Hooks / delete_$taxonomy – action

Fires after a term in a specific taxonomy is deleted. The dynamic portion of the hook name, `$taxonomy`, refers to the specific taxonomy the term belonged to.

Parameters

.
( 2.3.0 ) . .
Introduced
( 4.5.0 ) the `$object_ids` argument. . . .
( int ) $term Term ID. . . .
( int ) $tt_id Term taxonomy ID. . . .
( mixed ) $deleted_term Copy of the already-deleted term, in the form specified by the parent function. WP_Error otherwise. . . .
( array ) $object_ids List of term object IDs. . . .
Hook name: delete_$taxonomy
Hook type: action
Plugin ref: WordPress
Sourcefile:
File ref: wp_delete_term() – Removes a term from the database.
Description: Fires after a term in a specific taxonomy is deleted. The dynamic portion of the hook name, `$taxonomy`, refers to the specific taxonomy the term belonged to.
Parameters:
Deprecated?: No
API Letters: $,D

Invokers

1 to 1 of 1

  • wp_delete_term() – Removes a term from the database.

Implementers

    Published: 12th March 2017 | Last updated: 12th March 2017

    Information

    Hook name: delete_$taxonomy
    Hook type: action
    Plugin ref: WordPress
    Sourcefile:
    File ref: wp_delete_term() – Removes a term from the database.
    Description: Fires after a term in a specific taxonomy is deleted. The dynamic portion of the hook name, `$taxonomy`, refers to the specific taxonomy the term belonged to.
    Parameters:
    Deprecated?: No
    API Letters: $,D

    • Plugins
    • Themes
    • Shortcodes
    • APIs
    • Files
    • Hooks
    • Classes
    • Sites
    • Sitemap
    • Blog
    WooCommerce a2z WooCommerce a2z
    WooCommerce

    Site:  woocommerce.wp-a2z.org
    © Copyright WooCommerce a2z 2014-2018. All rights reserved.


    Website designed and developed by Herb Miller
    Proudly powered by WordPress and oik plugins