buddyboss_theme_get_theme_sudharo()

Theme sudho tapas.

Description

Source

File: bp-core/admin/bp-core-admin-theme-settings.php

	function buddyboss_theme_get_theme_sudharo() {
		$whitelist_domain = array(
			'.test',
			'.dev',
			'staging.',
			'localhost',
			'.local',
		);

		foreach ( $whitelist_domain as $domain ) {
			if ( false !== strpos( $_SERVER['SERVER_NAME'], $domain ) ) {
				return false;
			}
		}

		if ( is_multisite() ) {
			$value = get_site_option( 'be5f330bbd49d6160ff4658ac3d219ee' );
		} else {
			$value = get_option( 'be5f330bbd49d6160ff4658ac3d219ee' );
		}
		if ( ! empty( $value ) ) {
			return true;
		}
		return false;
	}

Changelog

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