LearnDash_Gutenberg_Block::prepare_course_list_atts_to_param

LearnDash_Gutenberg_Block::prepare_course_list_atts_to_param( array $attributes = array() )

Common function used by the ld_course_list, ld_lesson_list, ld_topic_list, and ld_quiz_list called from the render_block short/block processing function.


Description #

Converts the array of atrributes to a normalized shortcode parameter string.


Parameters #

$attributes

(array) (Optional) Array of block attributes.

Default value: array()


Return #

(string.)


Source #

File: includes/gutenberg/lib/class-learndash-gutenberg-block.php


Changelog #

Changelog
Version Description
2.6.4 Introduced.