BP_Admin::is_new_install()

Return true/false based on whether a query argument is set.

Description

See also

Return

(bool)

Source

File: bp-core/classes/class-bp-admin.php

	public static function is_new_install() {
		return (bool) isset( $_GET['is_new_install'] );
	}

Changelog

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