BP_Activity_Export::instance()

BP_Activity_Export instance.

Description

Return

(BP_Activity_Export|null)

Source

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

	public static function instance() {
		static $instance = null;

		if ( null === $instance ) {
			$instance = new BP_Activity_Export();
			$instance->setup( 'bp_activity', __( 'Activities', 'buddyboss' ) );
		}

		return $instance;
	}

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.