Browse: Home / Hooks /

learndash_visitor_shortcode_atts

apply_filters( 'learndash_visitor_shortcode_atts',  array $atts )

Filters visitor shortcode attributes.


Description #


Parameters #

$atts

(array) An array of shortcode attributes.


Source #

File: includes/shortcodes/ld_visitor.php


Examples #

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

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

		// Always return $attributes.
		return $attributes;
	}
);