BP_Nouveau::get_instance()

Return the instance of this class.

Description

Source

File: bp-templates/bp-nouveau/buddypress-functions.php

45
46
47
48
49
50
51
public static function get_instance() {
    if ( null === self::$instance ) {
        self::$instance = new self;
    }
 
    return self::$instance;
}

Changelog

Changelog
Version Description
BuddyPress 3.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.