bp_document_get_folder_document_ids( $folder_id )
Return all the documents ids of the folder.
Description
Parameters
- $folder_id
-
(Required)
Return
(array)
Source
File: bp-document/bp-document-functions.php
2819 2820 2821 2822 2823 | function bp_document_get_folder_document_ids( $folder_id ) { global $wpdb , $bp ; return array_map ( 'intval' , $wpdb ->get_col( $wpdb ->prepare( "SELECT id FROM {$bp->document->table_name} WHERE folder_id = %d" , $folder_id ) ) ); } |
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.