bp_media_add_admin_repair_items( $repair_list )

Add media repair list item.

Description

Parameters

$repair_list

(Required)

Return

(array) Repair list items.

Source

File: bp-media/bp-media-filters.php

function bp_media_add_admin_repair_items( $repair_list ) {
	if ( bp_is_active( 'activity' ) ) {
		$repair_list[] = array(
				'bp-repair-media',
				__( 'Repair media on the site.', 'buddyboss' ),
				'bp_media_admin_repair_media',
		);
		$repair_list[] = array(
				'bp-media-forum-privacy-repair',
				__( 'Repair forum media privacy', 'buddyboss' ),
				'bp_media_forum_privacy_repair',
		);
	}
	return $repair_list;
}

Changelog

Changelog
Version Description
BuddyBoss 1.4.4 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.