BP_Document::delete_document_meta_entries( array $document_ids = array() )
Delete the meta entries associated with a set of document items.
Description
Parameters
- $document_ids
-
(array) (Optional) Document IDs whose meta should be deleted.
Default value: array()
Return
(bool) True on success.
Source
File: bp-document/classes/class-bp-document.php
public static function delete_document_meta_entries( $document_ids = array() ) { $document_ids = wp_parse_id_list( $document_ids ); foreach ( $document_ids as $document_id ) { bp_document_delete_meta( $document_id ); } return true; }
Changelog
Version | Description |
---|---|
BuddyBoss 1.4.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.