BP_Document_Folder::delete_document_folder_meta_entries( array $folder_ids = array() )

Delete the meta entries associated with a set of folder items.

Description

Parameters

$folder_ids

(Optional) Folder IDs whose meta should be deleted.

Default value: array()

Return

(bool) True on success.

Source

File: bp-document/classes/class-bp-document-folder.php

	public static function delete_document_folder_meta_entries( $folder_ids = array() ) {
		$folder_ids = wp_parse_id_list( $folder_ids );

		foreach ( $folder_ids as $folder_id ) {
			bp_document_folder_delete_meta( $folder_id );
		}

		return true;
	}

Changelog

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.