BP_Activity_Activity::delete_activity_meta_entries( array $activity_ids = array() )

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

Description

Parameters

$activity_ids

(Optional) Activity IDs whose meta should be deleted.

Default value: array()

Return

(bool) True on success.

Source

File: bp-activity/classes/class-bp-activity-activity.php

	public static function delete_activity_meta_entries( $activity_ids = array() ) {
		$activity_ids = wp_parse_id_list( $activity_ids );

		foreach ( $activity_ids as $activity_id ) {
			bp_activity_delete_meta( $activity_id );
		}

		return true;
	}

Changelog

Changelog
Version Description
BuddyPress 1.2.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.