Browse: Home / Classes / LearnDash_Gutenberg_Block_Usermeta /

LearnDash_Gutenberg_Block_Usermeta::learndash_block_markers_shortcode_atts_filter

LearnDash_Gutenberg_Block_Usermeta::learndash_block_markers_shortcode_atts_filter( array $attributes = array(),  string $shortcode_slug = '',  string $block_slug = '',  string $content = '' )

Called from the LD function learndash_convert_block_markers_shortcode() when parsing the block content.


Description #


Parameters #

$attributes

(array) (Optional) The array of attributes parse from the block content.

Default value: array()

$shortcode_slug

(string) (Optional) This will match the related LD shortcode ld_profile, ld_course_list, etc.

Default value: ''

$block_slug

(string) (Optional) This is the block token being processed. Normally same as the shortcode but underscore replaced with dash.

Default value: ''

$content

(string) (Optional) This is the orignal full content being parsed.

Default value: ''


Return #

(array) $attributes.


Source #

File: includes/gutenberg/blocks/ld-usermeta/index.php


Changelog #

Changelog
Version Description
2.5.9 Introduced.