BP_Export::setup( $name,  $label )

Description

Parameters

$name

(Required)

$label

(Required)

Source

File: bp-core/gdpr/class-bp-export.php

	function setup( $name, $label ) {

		$this->exporter_name  = $name;
		$this->exporter_label = $label;

		// Global Filter.
		$this->items_per_batch = apply_filters( 'buddyboss_bp_gdpr_item_per_batch', $this->items_per_batch );
		// Specific Filter.
		$this->items_per_batch = apply_filters( 'buddyboss_bp_gdpr_item_per_batch_{$name}', $this->items_per_batch );

		$this->hooks();

	}

Changelog

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