bp_blogs_delete_activity( array|string $args = '' )

Delete a blog-related activity stream item.

Description Description

See also See also

Top ↑

Parameters Parameters


(array|string) (Optional) See bp_activity_delete() for complete description of arguments. The arguments listed here have different default values from bp_activity_add().

  • 'component'
    (string) Default: 'blogs'.

Default value: ''

Top ↑

Return Return

(bool) True on success, false on failure.

Top ↑

Source Source

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

function bp_blogs_delete_activity( $args = '' ) {
	$r = bp_parse_args( $args, array(
		'item_id'           => false,
		'component'         => buddypress()->blogs->id,
		'type'              => false,
		'user_id'           => false,
		'secondary_item_id' => false
	) );

	bp_activity_delete_by_item_id( $r );

Top ↑

Changelog Changelog

Version Description
1.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.