apply_filters( 'learndash_quiz_row_atts', string $attribute )
Filters quiz row attributes. Used while displaying a single quiz row.
Contents
Description #
Parameters #
- $attribute
-
(string) Quiz row attribute. The value is data-ld-tooltip if a user does not have access to quiz otherwise empty string.
Source #
Examples #
<?php /** * Example usage for learndash_quiz_row_atts filter. */ add_filter( 'learndash_quiz_row_atts', function( $attribute ) { // May add any custom logic using $attribute. // Always return $attribute. return $attribute; } );