WC_Admin_Taxonomies::delete_term()publicWC 1.0

Deprecated from version 3.6.0 No longer needed.. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

When a term is deleted, delete its meta.

Method of the class: WC_Admin_Taxonomies{}

No Hooks.


null. Nothing (null).


$WC_Admin_Taxonomies = new WC_Admin_Taxonomies();
$WC_Admin_Taxonomies->delete_term( $term_id );
$term_id(mixed) (required)
Term ID.


Deprecated since 3.6.0 No longer needed.

WC_Admin_Taxonomies::delete_term() code WC 8.9.0

public function delete_term( $term_id ) {
	wc_deprecated_function( 'delete_term', '3.6' );