bp_core_validate_blog_signup( string $blog_url, string $blog_title )

Validate blog URL and title provided at signup.


Parameters Parameters

$blog_url

(string) (Required) Blog URL requested during registration.

$blog_title

(string) (Required) Blog title requested during registration.


Top ↑

Return Return

(array)


Source 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 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 ) );
}


Top ↑

Changelog Changelog

Changelog
Version Description
1.2.2 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.