BBP_Shortcodes::display_lost_pass()

Display a lost password form


Description Description


Return Return

(string)


Top ↑

Source Source

File: includes/common/shortcodes.php

	public function display_lost_pass() {

		// Unset globals
		$this->unset_globals();

		// Start output buffer
		$this->start( 'bbp_lost_pass' );

		// Output templates
		if ( ! is_user_logged_in() ) {
			bbp_get_template_part( 'form',     'user-lost-pass' );
		} else {
			bbp_get_template_part( 'feedback', 'logged-in'      );
		}

		// Return contents of output buffer
		return $this->end();
	}

Top ↑

Changelog Changelog

Changelog
Version Description
2.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.