Browse: Home / Hooks /

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 #

Note: Extended code example below not guaranteed, you may need to consult with a developer

 <?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
);