bp_get_activation_page()

Get the URL of the activation page.

Description

Return

(string)

Source

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

2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
function bp_get_activation_page() {
    if ( bp_has_custom_activation_page() ) {
        $page = trailingslashit( bp_get_root_domain() . '/' . bp_get_activate_slug() );
    } else {
        $page = trailingslashit( bp_get_root_domain() ) . 'wp-activate.php';
    }
 
    /**
     * Filters the URL of the activation page.
     *
     * @since BuddyPress 1.2.0
     *
     * @param string $page URL to the activation page.
     */
    return apply_filters( 'bp_get_activation_page', $page );
}

Changelog

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