shopp_rmv_product_term()

remove a taxonomical term

shopp_rmv_product_term ( $term, $taxonomy )

@param int $term (required) The term id
@param string $taxonomy (optional default=shopp_category) The taxonomy name the term belongs to.  The taxonomy specified must be of the Shopp product object type.
@return bool true on success, false on failure

Description

remove a taxonomical term

Example

// shopp_my_taxonomy is registered with shopp_register_taxonomy()

// remove a shopp_my_taxonomy term with id 40
shopp_rmv_product_term(40, 'shopp_my_taxonomy');

See Also

You must be logged in to post a comment.

© Ingenesis Limited. Shopp™ is a registered trademark of Ingenesis Limited.

Skip to toolbar