BP_Registration_Theme_Compat::is_registration()
Are we looking at either the registration or activation pages?
Description
Source
File: bp-members/classes/class-bp-registration-theme-compat.php
public function is_registration() { // Bail if not looking at the registration or activation page. if ( ! bp_is_register_page() && ! bp_is_activation_page() ) { return; } // Not a directory. bp_update_is_directory( false, 'register' ); // Setup actions. add_filter( 'bp_get_buddypress_template', array( $this, 'template_hierarchy' ) ); add_action( 'bp_template_include_reset_dummy_post_data', array( $this, 'dummy_post' ) ); add_filter( 'bp_replace_the_content', array( $this, 'dummy_content' ) ); }
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.