BP_Xprofile_Export::instance()

Get the instance of this class.

Description

Return

(Controller|null)

Source

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

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

		if ( null === $instance ) {
			$instance = new BP_Xprofile_Export();
			$instance->setup( 'bp_xprofile', __( 'User Profile Information', 'buddyboss' ) );
		}

		return $instance;
	}

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.