LLMS_Shortcode_Registration


Description Description


Source Source

File: includes/shortcodes/class.llms.shortcode.registration.php

class LLMS_Shortcode_Registration extends LLMS_Shortcode {

	/**
	 * Shortcode tag
	 * @var  string
	 */
	public $tag = 'lifterlms_registration';

	/**
	 * Retrieve the actual content of the shortcode
	 *
	 * $atts & $content are both filtered before being passed to get_output()
	 * output is filtered so the return of get_output() doesn't need its own filter
	 *
	 * @return   string
	 * @since    3.4.3
	 * @version  3.4.3
	 */
	protected function get_output() {

		$this->enqueue_script( 'password-strength-meter' );
		LLMS_Frontend_Assets::enqueue_inline_pw_script();

		ob_start();
		include llms_get_template_part_contents( 'global/form', 'registration' );
		return ob_get_clean();

	}

}


Top ↑

Methods Methods

  • get_output — Retrieve the actual content of the shortcode

Top ↑

User Contributed Notes User Contributed Notes

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