apply_filters( 'learndash_student_shortcode_atts', array $attributes )
Filters student shortcode attributes.
Description #
Parameters #
- $attributes
-
(array) An array of student shortcode attributes.
Source #
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?php
/**
* Example usage for learndash_student_shortcode_atts filter.
*/
add_filter(
'learndash_student_shortcode_atts',
function( $attributes ) {
// May add any custom logic using $attributes.
// Always return $attributes.
return $attributes;
}
);