Browse: Home / Functions /

learndash_quiz_shortcode

learndash_quiz_shortcode( array $atts = array(),  string $content = '',  $show_materials = false )

Legacy function used when not calling the WordPress shortcode API.


Description #


Parameters #

$atts

(array) (Optional) See learndash_quiz_shortcode_function function for parameter details.

Default value: array()

$content

(string) (Optional) See learndash_quiz_shortcode_function function for parameter details.

Default value: ''

(boolean) (Required) Whether to show quiz materials. Default false.


Source #

File: includes/shortcodes/ld_quiz.php


Changelog #

Changelog
Version Description
4.0.0 Introduced.