0, 'post_title' => $title, 'post_author' => 0, 'post_date' => 0, 'post_content' => '', 'post_type' => 'page', 'post_status' => 'publish', 'is_page' => true, 'comment_status' => 'closed' ) ); } /** * Filter the_content with either the register or activate templates. * * @since 1.7.0 */ 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 ); } } }