bp_document_add_admin_repair_items( $repair_list )

Add document repair list item.

Description

Parameters

$repair_list

(Required)

Return

(array) Repair list items.

Source

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

function bp_document_add_admin_repair_items( $repair_list ) {
	if ( bp_is_active( 'activity' ) ) {
		$repair_list[] = array(
				'bp-repair-document',
				__( 'Repair document on the site.', 'buddyboss' ),
				'bp_document_admin_repair_document',
		);
	}
	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.