bp_clear_object_type_terms_cache( int $type_id, string $taxonomy = '' )

Clear the Database object types cache.

Parameters Parameters


(int) (Required) The Type's term ID.


(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' );

Top ↑

Changelog Changelog

Version Description
7.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.