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
Return Return
(string)
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 ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.16.6 | Introduced. |