bp_update_type_metadata( integer $type_id, string $taxonomy = '', array $type_metas = array() )
Update a list of metadata for a given type ID and a given taxonomy.
Description Description
Parameters Parameters
- $type_id
-
(Required) The database ID of the BP Type.
- $taxonomy
-
(Optional) The BP Type taxonomy.
Default value: ''
- $type_metas
-
(Optional) An associative array (meta_key=>meta_value).
Default value: array()
Return Return
(boolean) False on failure. True otherwise.
Source Source
File: bp-core/bp-core-functions.php
Changelog Changelog
Version | Description |
---|---|
7.0.0 | Introduced. |