query.delete_term

/ Database / query.delete_term

Title : query.delete_term
Purpose : Removes a term from the database.
Syntax : [query.delete_term term_id=”575512″ taxonomy=”sample_taxo” /]
Input Parameters : term_id: (int) (Required) Term ID.
taxonomy: (string) (Required) Taxonomy Name.
Return Value : It does not return anything
Example 1 :
Code : [query.delete_term term_id=”575512″ taxonomy=”sample_taxo” /]
Output : Deletes the Term.
Description : If the term is a parent of other terms, then the children will be updated to that term’s parent.

Metadata associated with the term will be deleted.

Categories
Most Popular

Leave a Reply

Your email address will not be published. Required fields are marked *