LLMS_Question::get_description()

Retrieve the question description (post_content)


Description Description

Add’s extra allowed tags to wp_kses_post allowed tags so that async audio shortcodes will work properly


Top ↑

Return Return

(string)


Top ↑

Source Source

File: includes/models/model.llms.question.php

	public function get_description() {

		global $allowedposttags;
		$allowedposttags['source'] = array(
			'src'  => true,
			'type' => true,
		);
		$desc                      = $this->get( 'content' );
		unset( $allowedposttags['source'] );

		return apply_filters( 'llms_' . $this->get( 'question_type' ) . '_question_get_description', $desc, $this );

	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.16.6 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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