apply_filters( 'bp_activity_get_meta', mixed $retval, int $activity_id, string $meta_key, bool $single )

Filters the metadata for a specified activity item.

Description

Parameters

$retval

(mixed) The meta values for the activity item.

$activity_id

(int) ID of the activity item.

$meta_key

(string) Meta key for the value being requested.

$single

(bool) Whether to return one matched meta key row or all.

Source

File: bp-activity/bp-activity-functions.php

Changelog

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