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