learndash_ld_group_shortcode_atts

apply_filters( 'learndash_ld_group_shortcode_atts',  array $attribute,  string $content )

Filters ld_group shortcode attributes.


Description #


Parameters #

$attribute

(array) An array of ld_group shortcode attributes.

$content

(string) Shortcode Content.


Source #

File: includes/shortcodes/ld_group.php


Examples #

 <?php
/**
 * Example usage for learndash_ld_group_shortcode_atts filter.
 */
add_filter(
	'learndash_ld_group_shortcode_atts',
	function( $attribute, $content ) {
		// May add any custom logic using $attribute, $content.

		// Always return $attribute.
		return $attribute;
	},
	10,
	2
);