bp_blogs_creation_location( string $url )
Ensure that the ‘Create a new site’ link at wp-admin/my-sites.php points to the BP blog signup.
Description Description
Parameters Parameters
- $url
-
(Required) The original URL (points to wp-signup.php by default).
Return Return
(string) The new URL.
Source Source
File: bp-blogs/bp-blogs-filters.php
function bp_blogs_creation_location( $url ) { /** * Filters the 'Create a new site' link URL. * * @since 1.6.0 * * @param string $value URL for the 'Create a new site' signup page. */ return apply_filters( 'bp_blogs_creation_location', trailingslashit( bp_get_blogs_directory_permalink() . 'create' ), $url ); }
Changelog Changelog
Version | Description |
---|---|
1.6.0 | Introduced. |