LearnDash_Gutenberg_Block::prepare_course_list_atts_to_param( array $block_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 attributes to a normalized shortcode parameter string.
Parameters #
- $block_attributes
-
(array) (Optional) Array of block attributes.
Default value: array()
Return #
(string.)
Source #
File: includes/gutenberg/lib/class-learndash-gutenberg-block.php
Changelog #
Version | Description |
---|---|
2.6.4 | Introduced. |