bp_delete_term( int $term_id, string $taxonomy = '' )
Deletes a BP Term.
Description Description
Parameters Parameters
- $term_id
-
(Required) The BP Term ID. Required.
- $taxonomy
-
(Optional) The BP Taxonomy Name. Required.
Default value: ''
Return Return
(bool|WP_Error) True on success, WP_Error on failure.
Source Source
File: bp-core/bp-core-taxonomy.php
Changelog Changelog
Version | Description |
---|---|
7.0.0 | Introduced. |