bp_core_validate_blog_signup( string $blog_url, string $blog_title )

Validate blog URL and title provided at signup.

Description

Parameters

$blog_url

(Required) Blog URL requested during registration.

$blog_title

(Required) Blog title requested during registration.

Return

(array)

Source

File: bp-members/bp-members-functions.php

function bp_core_validate_blog_signup( $blog_url, $blog_title ) {
	if ( ! is_multisite() || ! function_exists( 'wpmu_validate_blog_signup' ) ) {
		return false;
	}

	/**
	 * Filters the validated blog url and title provided at signup.
	 *
	 * @since BuddyPress 1.2.2
	 *
	 * @param array $value Array with the new site data and error messages.
	 */
	return apply_filters( 'bp_core_validate_blog_signup', wpmu_validate_blog_signup( $blog_url, $blog_title ) );
}

Changelog

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