BP_Registration_Theme_Compat::dummy_content()

Filter the_content with either the register or activate templates.

Description

Source

File: bp-members/classes/class-bp-registration-theme-compat.php

	public function dummy_content() {
		if ( bp_is_register_page() ) {
			return bp_buffer_template_part( 'members/register', null, false );
		} else {
			return bp_buffer_template_part( 'members/activate', null, false );
		}
	}

Changelog

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