bp_clear_object_type_terms_cache( int $type_id, string $taxonomy = '' )
Clear the Database object types cache.
Parameters Parameters
- $type_id
-
(int) (Required) The Type's term ID.
- $taxonomy
-
(string) (Optional) The Type's taxonomy name.
Default value: ''
Source Source
File: bp-core/bp-core-cache.php
function bp_clear_object_type_terms_cache( $type_id = 0, $taxonomy = '' ) { wp_cache_delete( $taxonomy, 'bp_object_terms' ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
7.0.0 | Introduced. |