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.

{} It's a method of the class: WC_Admin_Taxonomies{}

No Hooks.


null. Nothing.


$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.

Code of WC_Admin_Taxonomies::delete_term() WC 6.7.0

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